public property EntityType::$bundle_keys

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.

Type: array

File

drupal/core/lib/Drupal/Core/Entity/Annotation/EntityType.php, line 201
Contains \Drupal\Core\Entity\Annotation\EntityType.

Class

EntityType
Defines an Entity type annotation object.

Namespace

Drupal\Core\Entity\Annotation

Code

public $bundle_keys;