EntityTypeManagerInterface::getViewBuilder

public EntityTypeManagerInterface::getViewBuilder($entity_type)

Creates a new view builder instance.

Parameters

string $entity_type: The entity type for this view builder.

Return value

\Drupal\Core\Entity\EntityViewBuilderInterface. A view builder instance.

File

core/lib/Drupal/Core/Entity/EntityTypeManagerInterface.php, line 46

Class

EntityTypeManagerInterface
Provides an interface for entity type managers.

Namespace

Drupal\Core\Entity

Code

1
public function getViewBuilder($entity_type);
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.