function EntityDisplayRepositoryInterface::getAllViewModes
Gets the entity view mode info for all entity types.
Return value
array The view mode info for all entity types.
1 method overrides EntityDisplayRepositoryInterface::getAllViewModes()
- EntityDisplayRepository::getAllViewModes in core/lib/ Drupal/ Core/ Entity/ EntityDisplayRepository.php 
- Gets the entity 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\EntityCode
public function getAllViewModes();Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
