You are here

public function EntityDisplayRepositoryInterface::getAllViewModes in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Entity/EntityDisplayRepositoryInterface.php \Drupal\Core\Entity\EntityDisplayRepositoryInterface::getAllViewModes()

Gets the entity view mode info for all entity types.

Return value

array The view mode info for all entity types.

2 methods override EntityDisplayRepositoryInterface::getAllViewModes()
EntityDisplayRepository::getAllViewModes in core/lib/Drupal/Core/Entity/EntityDisplayRepository.php
Gets the entity view mode info for all entity types.
EntityManager::getAllViewModes in core/lib/Drupal/Core/Entity/EntityManager.php

File

core/lib/Drupal/Core/Entity/EntityDisplayRepositoryInterface.php, line 21
Contains \Drupal\Core\Entity\EntityDisplayRepositoryInterface.

Class

EntityDisplayRepositoryInterface
Provides an interface for an entity display repository.

Namespace

Drupal\Core\Entity

Code

public function getAllViewModes();