Verified Commit 7858c7be authored by quietone's avatar quietone
Browse files

Issue #3467540 by tstoeckler, prem suthar, smustgrave, catch: Update...

Issue #3467540 by tstoeckler, prem suthar, smustgrave, catch: Update EntityTypeInterface::getKeys() docs for string IDs

(cherry picked from commit 99a78afb)
parent ab4a2c7e
Loading
Loading
Loading
Loading
Loading
+6 −7
Original line number Diff line number Diff line
@@ -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