Skip to main content Skip to search
Can we use first and third party cookies and web beacons to understand our audience, and to tailor promotions you see?
Main menu
  • Drupal.org home
  • Discover Drupal
    • Drupal Core
    • Drupal CMS
    • Drupal AI
    • Case Studies
    • Drupal for Government
    • Drupal for Higher Education
    • Drupal for Nonprofit
    • Drupal for eCommerce
    • Drupal for FinTech
    • Drupal for Healthcare
    • Drupal for Enterprise
    • Drupal for Retail
    • Drupal for Travel & Tourism
  • Build with Drupal
    • Download Drupal
    • Documentation
    • Getting started
    • Local Development Guide
    • Developer Resources
    • Drupal CMS User Guide
    • Drupal User Guide
    • API
    • Modules
    • Themes
    • Distributions
    • Issue queues
    • Security Advisories
  • Partners & Services
    • Find a Drupal Certified Partner
    • Become a Drupal Certified Partner
    • Find a Hosting Provider
    • Find a Migration Partner
    • Find Training
    • Drupal Steward
  • Community
    • About the Community
    • How to Contribute
    • DrupalCon
    • Events
    • Jobs / Careers
    • News & Blogs
    • Forum
    • Slack
    • Newsletters
    • Drupal Swag Shop
  • Support Drupal
    • The Drupal Association
    • Donate
    • Become a Partner
    • Become a Ripple Maker
    • Become an Organization Member
    • Drupal Swag Shop
  • Get Started
    • Try Drupal CMS
    • Try Hosting
Return to content

Search form

  • Log in, view profile, and more
    • Log in
    • Create account
Documentation
Announcement iconStill on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
Migration Resource Center
DevelopDrupal APIsEntity API
Advertising sustains the DA. Ads are hidden for members. Join today

Entity API

  • Introduction to Entity API in Drupal 8
  • Entity types
  • Working with the Entity API
  • Bundles
  • Configuration Entity
  • Content Entity
  • Creating a custom content entity
  • Creating a custom content type in Drupal 8
  • Programming custom fields into your content type
  • Using the UI to export the code for your custom fields
  • Entity API implements Typed Data API
  • Entity Validation API
  • Access on entities (TBD)
  • Defining and using Content Entity Field definitions
  • Entity Translation API
  • Display Modes, View Modes, and Form Modes
  • FieldTypes, FieldWidgets and FieldFormatters
  • Upgrading Code Snippets Module to Drupal 8: Creating a Custom Field
  • Dynamic/Virtual field values using computed field property classes
  • Handlers
  • Making an entity revisionable
  • Structure of an Entity annotation
  • Creating a content entity type in Drupal 8
  • Making the content entity searchable
  • Converting a content entity type to be revisionable and publishable
  • Link Templates

Access on entities (TBD)

Last updated on
17 May 2017

Initial stub page, just to outline the different child-pages we need.

For now, see https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Entity%21entity.api.php/group/entity_api/8.

Help improve this page

Page status: No known problems

You can:
  • Log in, click Edit, and edit this page
  • Log in, click Discuss, update the Page status value, and suggest an improvement
  • Log in and create a Documentation issue with your suggestion
Drupal’s online documentation is © 2000-2025 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution-ShareAlike 2.0. PHP code is distributed under the GNU General Public License.
Infrastructure management for Drupal.org provided by Tag1 logo
Need a Drupal 7 extended support partner? Consider Tag1.

News items

  • News
  • Planet Drupal
  • Social media
  • Sign up for Drupal news
  • Security advisories
  • Jobs

Our community

  • Community
  • Services, Training & Hosting
  • Contributor guide
  • Groups & meetups
  • DrupalCon
  • Code of conduct

Documentation

  • Documentation
  • Drupal Guide
  • Drupal User Guide
  • Developer docs
  • API.Drupal.org

Drupal code base

  • Download & Extend
  • Drupal core
  • Modules
  • Themes
  • Distributions

Governance of community

  • About
  • Web accessibility
  • Drupal Association
  • About Drupal.org
  • Terms of service
  • Privacy policy

Drupal is a registered trademark of Dries Buytaert.