interface EntityDisplayRepositoryInterface

Provides an interface for an entity display repository.

Hierarchy

File

core/lib/Drupal/Core/Entity/EntityDisplayRepositoryInterface.php, line 8

Namespace

Drupal\Core\Entity

Members

Name Modifiers Type Description
EntityDisplayRepositoryInterface::clearDisplayModeInfo public function Clears the gathered display mode info.
EntityDisplayRepositoryInterface::getAllFormModes public function Gets the entity form mode info for all entity types.
EntityDisplayRepositoryInterface::getAllViewModes public function Gets the entity view mode info for all entity types.
EntityDisplayRepositoryInterface::getFormModeOptions public function Gets an array of form mode options.
EntityDisplayRepositoryInterface::getFormModeOptionsByBundle public function Returns an array of enabled form mode options by bundle.
EntityDisplayRepositoryInterface::getFormModes public function Gets the entity form mode info for a specific entity type.
EntityDisplayRepositoryInterface::getViewModeOptions public function Gets an array of view mode options.
EntityDisplayRepositoryInterface::getViewModeOptionsByBundle public function Returns an array of enabled view mode options by bundle.
EntityDisplayRepositoryInterface::getViewModes public function Gets the entity view mode info for a specific entity type.

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!EntityDisplayRepositoryInterface.php/interface/EntityDisplayRepositoryInterface/8.1.x