Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/Entity/EntityDisplayRepositoryInterface.php \Drupal\Core\Entity\EntityDisplayRepositoryInterface::getAllViewModes()
  2. 9 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.

File

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

Class

EntityDisplayRepositoryInterface
Provides an interface for an entity display repository.

Namespace

Drupal\Core\Entity

Code

public function getAllViewModes();