EntityFieldManager::buildFieldStorageDefinitions

protected EntityFieldManager::buildFieldStorageDefinitions($entity_type_id) Builds field storage definitions for an entity type. Parameters string $entity_type_id: The entity type ID. Only entity types that implement \Drupal\Core\Entity\FieldableEntityInterface are supported Return value \Drupal\Core\Field\FieldStorageDefinitionInterface[] An array of field storage definitions, keyed by field name. File core/lib/Drupal/Core/Entity/EntityFieldManager.php, line 504 Class EntityFieldManager

EntityFieldManager::buildBundleFieldDefinitions

protected EntityFieldManager::buildBundleFieldDefinitions($entity_type_id, $bundle, array $base_field_definitions) Builds field definitions for a specific bundle within an entity type. Parameters string $entity_type_id: The entity type ID. Only entity types that implement \Drupal\Core\Entity\FieldableEntityInterface are supported. string $bundle: The bundle. \Drupal\Core\Field\FieldDefinitionInterface[] $base_field_definitions: The list of base field definitions. Return value \Drupal\Core\Fie

EntityFieldManager::buildBaseFieldDefinitions

protected EntityFieldManager::buildBaseFieldDefinitions($entity_type_id) Builds base field definitions for an entity type. Parameters string $entity_type_id: The entity type ID. Only entity types that implement \Drupal\Core\Entity\FieldableEntityInterface are supported. Return value \Drupal\Core\Field\FieldDefinitionInterface[] An array of field definitions, keyed by field name. Throws \LogicException Thrown if a config entity type is given or if one of the entity keys is flagged as translat

EntityFieldManager::$typedDataManager

The typed data manager. Type: \Drupal\Core\TypedData\TypedDataManagerInterface File core/lib/Drupal/Core/Entity/EntityFieldManager.php, line 82 Class EntityFieldManager Manages the discovery of entity fields. Namespace Drupal\Core\Entity Code protected $typedDataManager;

EntityFieldManager::$moduleHandler

The module handler. Type: \Drupal\Core\Extension\ModuleHandlerInterface File core/lib/Drupal/Core/Entity/EntityFieldManager.php, line 103 Class EntityFieldManager Manages the discovery of entity fields. Namespace Drupal\Core\Entity Code protected $moduleHandler;

EntityFieldManager::$languageManager

The language manager. Type: \Drupal\Core\Language\LanguageManagerInterface File core/lib/Drupal/Core/Entity/EntityFieldManager.php, line 89 Class EntityFieldManager Manages the discovery of entity fields. Namespace Drupal\Core\Entity Code protected $languageManager;

EntityFieldManager::$keyValueFactory

The key-value factory. Type: \Drupal\Core\KeyValueStore\KeyValueFactoryInterface File core/lib/Drupal/Core/Entity/EntityFieldManager.php, line 96 Class EntityFieldManager Manages the discovery of entity fields. Namespace Drupal\Core\Entity Code protected $keyValueFactory;

EntityFieldManager::$fieldStorageDefinitions

Static cache of field storage definitions per entity type. Elements of the array: $entity_type_id: \Drupal\Core\Field\BaseFieldDefinition[] Type: array File core/lib/Drupal/Core/Entity/EntityFieldManager.php, line 55 Class EntityFieldManager Manages the discovery of entity fields. Namespace Drupal\Core\Entity Code protected $fieldStorageDefinitions;

EntityFieldManager::$fieldMapByFieldType

An array keyed by field type. Each value is an array whose key are entity types including arrays in the same form that $fieldMap. It helps access the mapping between types and fields by the field type. Type: array File core/lib/Drupal/Core/Entity/EntityFieldManager.php, line 75 Class EntityFieldManager Manages the discovery of entity fields. Namespace Drupal\Core\Entity Code protected $fieldMapByFieldType = [];

EntityFieldManager::$fieldMap

An array keyed by entity type. Each value is an array whose keys are field names and whose value is an array with two entries: type: The field type. bundles: The bundles in which the field appears. File core/lib/Drupal/Core/Entity/EntityFieldManager.php, line 65 Class EntityFieldManager Manages the discovery of entity fields. Namespace Drupal\Core\Entity Code protected $fieldMap = [];