Check your version
This tutorial covers a topic in Drupal 8 which may or may not be the version you're using. We're keeping this tutorial online as a courtesy to users of Drupal 8, but we consider it archived.
Alternate resources
This video was part of a series of presentations produced in anticipation of Drupal 8's official release. To learn about Drupal 8's new Entity API, take a look at our Entity API series.
[# card #]
nid: 2792
title: Entity API series
[# endcard #]
In this presentation we're going to take a high-level look at the new Drupal 8 Entity Field API. This is an improved version of the Entity API and Field API that was started in Drupal 7. Entities are the new recommended way of dealing with data in Drupal and as such, familiarizing yourself with the workings of the Entity API will be important when it comes time to store or retrieve data from your custom modules. It's a big change from what we're used to in Drupal—directly accessing the database via the database abstraction layer—but the Entity Field API also has some distinct advantages.
This presentation covers:
- Improvements to the Entity API
- Improvements to the Field API
- Handlers, Controllers, and ways to manipulate entities
- Discussion of new types of things we can build with these changes
- What you can do to start learning now
After watching this presentation you should be able to articulate the improvements made to the Entity Field API in Drupal 8 and start to understand how you might make use of it in your own code. We'll also cover some of the things you can start doing now in order to prepare yourself to use the Entity Field API in Drupal 8.
Additional resources
- Community documentation for Entities (drupal.org)
- Entity API (api.drupal.org)
- Drupal 8 Entity API DrupalCon Austin presentation (austin2014.drupal.org)
- Topic: Entities (Drupalize.Me)