EntityDisplayRepository::clearDisplayModeInfo

public EntityDisplayRepository::clearDisplayModeInfo() Clears the gathered display mode info. Return value $this Overrides EntityDisplayRepositoryInterface::clearDisplayModeInfo File core/lib/Drupal/Core/Entity/EntityDisplayRepository.php, line 241 Class EntityDisplayRepository Provides a repository for entity display objects (view modes and form modes). Namespace Drupal\Core\Entity Code public function clearDisplayModeInfo() { $this->displayModeInfo = []; return $this; }

EntityDisplayRepository::$moduleHandler

The module handler. Type: \Drupal\Core\Extension\ModuleHandlerInterface File core/lib/Drupal/Core/Entity/EntityDisplayRepository.php, line 46 Class EntityDisplayRepository Provides a repository for entity display objects (view modes and form modes). Namespace Drupal\Core\Entity Code protected $moduleHandler;

EntityDisplayRepository::$languageManager

The language manager. Type: \Drupal\Core\Language\LanguageManagerInterface File core/lib/Drupal/Core/Entity/EntityDisplayRepository.php, line 32 Class EntityDisplayRepository Provides a repository for entity display objects (view modes and form modes). Namespace Drupal\Core\Entity Code protected $languageManager;

EntityDisplayRepository::$entityTypeManager

The entity type manager. Type: \Drupal\Core\Entity\EntityTypeManagerInterface File core/lib/Drupal/Core/Entity/EntityDisplayRepository.php, line 39 Class EntityDisplayRepository Provides a repository for entity display objects (view modes and form modes). Namespace Drupal\Core\Entity Code protected $entityTypeManager;

EntityDisplayRepository::$displayModeInfo

Static cache of display modes information. Type: array File core/lib/Drupal/Core/Entity/EntityDisplayRepository.php, line 25 Class EntityDisplayRepository Provides a repository for entity display objects (view modes and form modes). Namespace Drupal\Core\Entity Code protected $displayModeInfo = [];

EntityDisplayRepository

Provides a repository for entity display objects (view modes and form modes). Hierarchy class \Drupal\Core\Entity\EntityDisplayRepository implements EntityDisplayRepositoryInterface uses UseCacheBackendTrait, StringTranslationTrait File core/lib/Drupal/Core/Entity/EntityDisplayRepository.php, line 15 Namespace Drupal\Core\Entity Members Name Modifiers Type Description EntityDisplayRepository::$displayModeInfo protected property Static cache of display modes information.

EntityDisplayModeListBuilder::__construct

public EntityDisplayModeListBuilder::__construct(EntityTypeInterface $entity_type, EntityStorageInterface $storage, array $entity_types) Constructs a new EntityDisplayModeListBuilder object. Parameters \Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition. \Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage class. \Drupal\Core\Entity\EntityTypeInterface[] $entity_types: List of all entity types. Overrides EntityListBuilder::__construct File core/m

EntityDisplayModeListBuilder::render

public EntityDisplayModeListBuilder::render() Builds the entity listing as renderable array for table.html.twig. @todo Add a link to add a new item to the #empty text. Overrides EntityListBuilder::render File core/modules/field_ui/src/EntityDisplayModeListBuilder.php, line 84 Class EntityDisplayModeListBuilder Defines a class to build a listing of view mode entities. Namespace Drupal\field_ui Code public function render() { $build = array(); foreach ($this->load() as $entity_ty

EntityDisplayModeListBuilder::load

public EntityDisplayModeListBuilder::load() Loads entities of this type from storage for listing. This allows the implementation to manipulate the listing, like filtering or sorting the loaded entities. Return value \Drupal\Core\Entity\EntityInterface[] An array of entities implementing \Drupal\Core\Entity\EntityInterface. Overrides ConfigEntityListBuilder::load File core/modules/field_ui/src/EntityDisplayModeListBuilder.php, line 73 Class EntityDisplayModeListBuilder Defines a class to b

EntityDisplayModeListBuilder::isValidEntity

protected EntityDisplayModeListBuilder::isValidEntity($entity_type) Filters entities based on their view builder handlers. Parameters $entity_type: The entity type of the entity that needs to be validated. Return value bool TRUE if the entity has the correct view builder handler, FALSE if the entity doesn't have the correct view builder handler. File core/modules/field_ui/src/EntityDisplayModeListBuilder.php, line 137 Class EntityDisplayModeListBuilder Defines a class to build a listing