public EntityManager::getViewBuilder($entity_type)
Overrides EntityTypeManagerInterface::getViewBuilder
File
- core/lib/Drupal/Core/Entity/EntityManager.php, line 99
Class
- EntityManager
- Provides a wrapper around many other services relating to entities.
Namespace
Drupal\Core\Entity
Code
public function getViewBuilder($entity_type) { return $this->container->get('entity_type.manager')->getViewBuilder($entity_type); }
Please login to continue.