diff --git a/core/lib/Drupal/Core/Entity/EntityType.php b/core/lib/Drupal/Core/Entity/EntityType.php index 6ffd5d7..1dfe7f3 100644 --- a/core/lib/Drupal/Core/Entity/EntityType.php +++ b/core/lib/Drupal/Core/Entity/EntityType.php @@ -16,51 +16,51 @@ class EntityType implements EntityTypeInterface { /** * An array of entity type definition data. Containing the following keys: - * - 'static_cache': (bool) Indicates whether entities should be statically + * - static_cache: (bool) Indicates whether entities should be statically * cached. - * - 'render_cache': (bool) Indicates whether the rendered output of + * - render_cache: (bool) Indicates whether the rendered output of * entities should be cached. - * - 'field_cache': (bool) Indicates if the persistent cache of field data + * - field_cache: (bool) Indicates if the persistent cache of field data * should be used. - * - 'entity_keys': (array) An array of entity keys. - * - 'id': (int|string) The unique identifier of this entity type. - * - 'provider': (string) The name of the provider of this entity type. - * - 'class': (string) The name of the entity type class. - * - 'controllers': (array) An array of controllers. - * - 'admin_permission': (string) The name of the default administrative + * - entity_keys: (array) An array of entity keys. + * - id: (int|string) The unique identifier of this entity type. + * - provider: (string) The name of the provider of this entity type. + * - class: (string) The name of the entity type class. + * - controllers: (array) An array of controllers. + * - admin_permission: (string) The name of the default administrative * permission. - * - 'permission_granularity': (string|bool) The allowed values are + * - permission_granularity: (string|bool) The allowed values are * respectively "entity_type", "bundle" or FALSE. - * - 'bundle_keys': (array) An array describing how the Field API can + * - bundle_keys: (array) An array describing how the Field API can * extract the information it needs from the bundle objects for this type * (e.g Vocabulary objects for terms; not applicable for nodes): * - bundle: The name of the property that contains the name of the * bundle object. * This entry can be omitted if this type's bundles do not exist as * standalone objects. - * - 'fieldable': (bool) Indicates whether fields can be attached to + * - fieldable: (bool) Indicates whether fields can be attached to * entities of this type. - * - 'links': (array) Link templates using the URI template syntax. - * - 'label_callback': (string) The name of a callback that returns the + * - links: (array) Link templates using the URI template syntax. + * - label_callback: (string) The name of a callback that returns the * label of the entity. - * - 'bundle_entity_type': (string) The name of the entity type which + * - bundle_entity_type: (string) The name of the entity type which * provides bundles. - * - 'bundle_of': (string) The name of the entity type for which bundles are + * - bundle_of: (string) The name of the entity type for which bundles are * provided. - * - 'bundle_label': (string) The human-readable name of the entity bundles, + * - bundle_label: (string) The human-readable name of the entity bundles, * e.g. Vocabulary. - * - 'base_table': (string) The name of the entity type's base table. - * - 'revision_data_table': (string) The name of the entity type's revision + * - base_table: (string) The name of the entity type's base table. + * - revision_data_table: (string) The name of the entity type's revision * data table. - * - 'revision_table': (string) The name of the entity type's revision + * - revision_table: (string) The name of the entity type's revision * table. - * - 'data_table': (string) The name of the entity type's data table. - * - 'translatable': (bool) Indicates whether entities of this type have + * - data_table: (string) The name of the entity type's data table. + * - translatable: (bool) Indicates whether entities of this type have * multilingual support. - * - 'config_prefix': (string) The config prefix used by the configuration + * - config_prefix: (string) The config prefix used by the configuration * entity type. - * - 'label': (string) The human-readable name of the type. - * - 'uri_callback': (callable) A callable that can be used to provide the + * - label: (string) The human-readable name of the type. + * - uri_callback: (callable) A callable that can be used to provide the * entity URI. * * @var array