function EntityTypeManagerInterface::getViewBuilder
Same name in other branches
- 9 core/lib/Drupal/Core/Entity/EntityTypeManagerInterface.php \Drupal\Core\Entity\EntityTypeManagerInterface::getViewBuilder()
- 10 core/lib/Drupal/Core/Entity/EntityTypeManagerInterface.php \Drupal\Core\Entity\EntityTypeManagerInterface::getViewBuilder()
- 11.x core/lib/Drupal/Core/Entity/EntityTypeManagerInterface.php \Drupal\Core\Entity\EntityTypeManagerInterface::getViewBuilder()
Creates a new view builder instance.
Parameters
string $entity_type_id: The entity type ID for this view builder.
Return value
\Drupal\Core\Entity\EntityViewBuilderInterface A view builder instance.
2 methods override EntityTypeManagerInterface::getViewBuilder()
- EntityManager::getViewBuilder in core/
lib/ Drupal/ Core/ Entity/ EntityManager.php - EntityTypeManager::getViewBuilder in core/
lib/ Drupal/ Core/ Entity/ EntityTypeManager.php - Creates a new view builder instance.
File
-
core/
lib/ Drupal/ Core/ Entity/ EntityTypeManagerInterface.php, line 49
Class
- EntityTypeManagerInterface
- Provides an interface for entity type managers.
Namespace
Drupal\Core\EntityCode
public function getViewBuilder($entity_type_id);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.