public EntityTypeManagerInterface::getViewBuilder($entity_type)
Creates a new view builder instance.
string $entity_type: The entity type for this view builder.
\Drupal\Core\Entity\EntityViewBuilderInterface. A view builder instance.
public function getViewBuilder($entity_type);
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!EntityTypeManagerInterface.php/function/EntityTypeManagerInterface::getViewBuilder/8.1.x