Loading core/lib/Drupal/Core/Entity/EntityTypeInterface.php +6 −7 Original line number Diff line number Diff line Loading @@ -72,15 +72,14 @@ public function getOriginalClass(); * Gets an array of entity keys. * * @return array * An array describing how the Field API can extract certain information * from objects of this entity type: * An array describing how information can be extracted from entities of * this entity type: * - id: The name of the property that contains the primary ID of the * entity. Every entity object passed to the Field API must have this * property and its value must be numeric. * entity. Entities that can be saved to storage must have this. * - revision: (optional) The name of the property that contains the * revision ID of the entity. The Field API assumes that all revision IDs * are unique across all entities of a type. If this entry is omitted * the entities of this type are not revisionable. * revision ID of the entity. It is assumed that all revision IDs are * unique across all entities of a type. If this entry is omitted the * entities of this type are not revisionable. * - bundle: (optional) The name of the property that contains the bundle * name for the entity. The bundle name defines which set of fields are * attached to the entity (e.g. what nodes call "content type"). This Loading Loading
core/lib/Drupal/Core/Entity/EntityTypeInterface.php +6 −7 Original line number Diff line number Diff line Loading @@ -72,15 +72,14 @@ public function getOriginalClass(); * Gets an array of entity keys. * * @return array * An array describing how the Field API can extract certain information * from objects of this entity type: * An array describing how information can be extracted from entities of * this entity type: * - id: The name of the property that contains the primary ID of the * entity. Every entity object passed to the Field API must have this * property and its value must be numeric. * entity. Entities that can be saved to storage must have this. * - revision: (optional) The name of the property that contains the * revision ID of the entity. The Field API assumes that all revision IDs * are unique across all entities of a type. If this entry is omitted * the entities of this type are not revisionable. * revision ID of the entity. It is assumed that all revision IDs are * unique across all entities of a type. If this entry is omitted the * entities of this type are not revisionable. * - bundle: (optional) The name of the property that contains the bundle * name for the entity. The bundle name defines which set of fields are * attached to the entity (e.g. what nodes call "content type"). This Loading