Drupal 8 Entity API

In Drupal 7 the Entity API had lots of gaps, a lot of which the contributed Entity API module tried to fill. In Drupal 8, however, the entity system has reached a whole new level with respect to both features and flexibility. This session will give an overview over the different components of the entity system and how it can empower you in building Drupal sites in the future. Topics will be (among others):

  • Content vs. Configuration
  • Working with entities in code
  • Providing a custom entity type
  • Working with entities in the user interface
  • Working with fields
  • Storing entity data
  • Querying entity data
  • Validating entities

This session is for you if any of the following is true:

  • You are tired of typing $entity­>field['und'][0] in Drupal 7 code
  • You are tired of everything in Drupal being a node and want entities that fit your specific use- case
  • You are excited about controlling the data storage Drupal uses
  • You are interested in the Entity system (as one of Drupal's central components) in general

The slides of the session are now available for download below and online here.

DrupalCampSpain 2015