EntityFieldManager::$fieldDefinitions

Static cache of field definitions per bundle and entity type. Type: array File core/lib/Drupal/Core/Entity/EntityFieldManager.php, line 45 Class EntityFieldManager Manages the discovery of entity fields. Namespace Drupal\Core\Entity Code protected $fieldDefinitions;

EntityFieldManager::$extraFields

Extra fields by bundle. Type: array File core/lib/Drupal/Core/Entity/EntityFieldManager.php, line 31 Class EntityFieldManager Manages the discovery of entity fields. Namespace Drupal\Core\Entity Code protected $extraFields = [];

EntityFieldManager::$entityTypeManager

The entity type manager. Type: \Drupal\Core\Entity\EntityTypeManagerInterface File core/lib/Drupal/Core/Entity/EntityFieldManager.php, line 110 Class EntityFieldManager Manages the discovery of entity fields. Namespace Drupal\Core\Entity Code protected $entityTypeManager;

EntityFieldManager::$entityTypeBundleInfo

The entity type bundle info. Type: \Drupal\Core\Entity\EntityTypeBundleInfoInterface File core/lib/Drupal/Core/Entity/EntityFieldManager.php, line 117 Class EntityFieldManager Manages the discovery of entity fields. Namespace Drupal\Core\Entity Code protected $entityTypeBundleInfo;

EntityFieldManager::$entityDisplayRepository

The entity display repository. Type: \Drupal\Core\Entity\EntityDisplayRepositoryInterface File core/lib/Drupal/Core/Entity/EntityFieldManager.php, line 124 Class EntityFieldManager Manages the discovery of entity fields. Namespace Drupal\Core\Entity Code protected $entityDisplayRepository;

EntityFieldManager::$baseFieldDefinitions

Static cache of base field definitions. Type: array File core/lib/Drupal/Core/Entity/EntityFieldManager.php, line 38 Class EntityFieldManager Manages the discovery of entity fields. Namespace Drupal\Core\Entity Code protected $baseFieldDefinitions;

EntityFieldManager

Manages the discovery of entity fields. This includes field definitions, base field definitions, and field storage definitions. Hierarchy class \Drupal\Core\Entity\EntityFieldManager implements EntityFieldManagerInterface uses UseCacheBackendTrait, StringTranslationTrait File core/lib/Drupal/Core/Entity/EntityFieldManager.php, line 21 Namespace Drupal\Core\Entity Members Name Modifiers Type Description EntityFieldManager::$baseFieldDefinitions protected property Static c

EntityDisplayRepositoryInterface::getViewModes

public EntityDisplayRepositoryInterface::getViewModes($entity_type_id) Gets the entity view mode info for a specific entity type. Parameters string $entity_type_id: The entity type whose view mode info should be returned. Return value array The view mode info for a specific entity type. File core/lib/Drupal/Core/Entity/EntityDisplayRepositoryInterface.php, line 27 Class EntityDisplayRepositoryInterface Provides an interface for an entity display repository. Namespace Drupal\Core\Entit

EntityDisplayRepositoryInterface::getViewModeOptionsByBundle

public EntityDisplayRepositoryInterface::getViewModeOptionsByBundle($entity_type_id, $bundle) Returns an array of enabled view mode options by bundle. Parameters string $entity_type_id: The entity type whose view mode options should be returned. string $bundle: The name of the bundle. Return value array An array of view mode labels, keyed by the display mode ID. File core/lib/Drupal/Core/Entity/EntityDisplayRepositoryInterface.php, line 81 Class EntityDisplayRepositoryInterface Provides

EntityDisplayRepositoryInterface::getViewModeOptions

public EntityDisplayRepositoryInterface::getViewModeOptions($entity_type_id) Gets an array of view mode options. Parameters string $entity_type_id: The entity type whose view mode options should be returned. Return value array An array of view mode labels, keyed by the display mode ID. File core/lib/Drupal/Core/Entity/EntityDisplayRepositoryInterface.php, line 57 Class EntityDisplayRepositoryInterface Provides an interface for an entity display repository. Namespace Drupal\Core\Entity