EntityDisplayRepository

Provides a repository for entity display objects (view modes and form modes).

Hierarchy

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.
EntityDisplayRepository::$entityTypeManager protected property The entity type manager.
EntityDisplayRepository::$languageManager protected property The language manager.
EntityDisplayRepository::$moduleHandler protected property The module handler.
EntityDisplayRepository::clearDisplayModeInfo public function Clears the gathered display mode info. Overrides EntityDisplayRepositoryInterface::clearDisplayModeInfo
EntityDisplayRepository::getAllDisplayModesByEntityType protected function Gets the entity display mode info for all entity types.
EntityDisplayRepository::getAllFormModes public function Gets the entity form mode info for all entity types. Overrides EntityDisplayRepositoryInterface::getAllFormModes
EntityDisplayRepository::getAllViewModes public function Gets the entity view mode info for all entity types. Overrides EntityDisplayRepositoryInterface::getAllViewModes
EntityDisplayRepository::getDisplayModeOptions protected function Gets an array of display mode options.
EntityDisplayRepository::getDisplayModeOptionsByBundle protected function Returns an array of enabled display mode options by bundle.
EntityDisplayRepository::getDisplayModesByEntityType protected function Gets the entity display mode info for a specific entity type.
EntityDisplayRepository::getFormModeOptions public function Gets an array of form mode options. Overrides EntityDisplayRepositoryInterface::getFormModeOptions
EntityDisplayRepository::getFormModeOptionsByBundle public function Returns an array of enabled form mode options by bundle. Overrides EntityDisplayRepositoryInterface::getFormModeOptionsByBundle
EntityDisplayRepository::getFormModes public function Gets the entity form mode info for a specific entity type. Overrides EntityDisplayRepositoryInterface::getFormModes
EntityDisplayRepository::getViewModeOptions public function Gets an array of view mode options. Overrides EntityDisplayRepositoryInterface::getViewModeOptions
EntityDisplayRepository::getViewModeOptionsByBundle public function Returns an array of enabled view mode options by bundle. Overrides EntityDisplayRepositoryInterface::getViewModeOptionsByBundle
EntityDisplayRepository::getViewModes public function Gets the entity view mode info for a specific entity type. Overrides EntityDisplayRepositoryInterface::getViewModes
EntityDisplayRepository::__construct public function Constructs a new EntityDisplayRepository.
StringTranslationTrait::$stringTranslation protected property The string translation service.
StringTranslationTrait::formatPlural protected function Formats a string containing a count of items.
StringTranslationTrait::getNumberOfPlurals protected function Returns the number of plurals supported by a given language.
StringTranslationTrait::getStringTranslation protected function Gets the string translation service.
StringTranslationTrait::setStringTranslation public function Sets the string translation service to use.
StringTranslationTrait::t protected function Translates a string to the current language or to a given language.
UseCacheBackendTrait::$cacheBackend protected property Cache backend instance.
UseCacheBackendTrait::$useCaches protected property Flag whether caches should be used or skipped.
UseCacheBackendTrait::cacheGet protected function Fetches from the cache backend, respecting the use caches flag.
UseCacheBackendTrait::cacheSet protected function Stores data in the persistent cache, respecting the use caches flag.
doc_Drupal
2016-10-29 09:05:51
Comments
Leave a Comment

Please login to continue.