What is an entity, what is Entity API, and how do you code with entities?

Drupal 7 introduced the powerful concept of entities as the successor of CCK in Drupal 5 and Drupal 6.

Drupal module developers can create consistent and powerful interfaces and tools for their custom data by leveraging the Entity system and the Entity API module. I will go over what tools and integrating features Entity API gives you first in talk and then in code examples.

Entities are useful for creating custom data storage types such as commerce, education, media storage, and pretty much any other type of web site that would need complex storage.

A module developer attending this session will be able to follow the code examples, and be on the way to leveraging Drupal 7 entities in their own modules.

Download the Shift Entity example on drupal.org

Experience level: