Entities
We have finally reached the point where we will talk about the most complex, robust, and powerful system for modeling data and content in Drupal—the Entity API.
The Entity API integrates seamlessly with the multilingual system to bring fully translatable content and configuration entities. This means that most data you store can be translated easily into multiple languages.
Content versus configuration entity types
Let’s start by establishing some basic terminology in order to prevent confusion down the line:
- Entities are instances of a given entity type. Thus, we can have one or more entities of a certain type, the latter being like a blueprint for individual entities.
- Entity types can be of two kinds: content and configuration.
We talked a little bit about configuration entities in the previous section. There, we saw that they are multiple instances of a certain type of configuration, as opposed to simple configuration, which is...