EntityType::getViewBuilderClass

public EntityType::getViewBuilderClass()

Gets the view builder class.

Return value

string The class for this entity type's view builder.

Overrides EntityTypeInterface::getViewBuilderClass

File

core/lib/Drupal/Core/Entity/EntityType.php, line 552

Class

EntityType
Provides an implementation of an entity type and its metadata.

Namespace

Drupal\Core\Entity

Code

public function getViewBuilderClass() {
  return $this->getHandlerClass('view_builder');
}
doc_Drupal
2016-10-29 09:08:03
Comments
Leave a Comment

Please login to continue.