8.3.x EntityTypeInterface.php public EntityTypeInterface::setViewBuilderClass($class)
8.0.x EntityTypeInterface.php public EntityTypeInterface::setViewBuilderClass($class)
8.1.x EntityTypeInterface.php public EntityTypeInterface::setViewBuilderClass($class)
8.2.x EntityTypeInterface.php public EntityTypeInterface::setViewBuilderClass($class)
8.4.x EntityTypeInterface.php public EntityTypeInterface::setViewBuilderClass($class)

Gets the view builder class.

Parameters

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

Return value

$this

1 method overrides EntityTypeInterface::setViewBuilderClass()
EntityType::setViewBuilderClass in core/lib/Drupal/Core/Entity/EntityType.php
Gets the view builder class.

File

core/lib/Drupal/Core/Entity/EntityTypeInterface.php, line 326

Class

EntityTypeInterface
Provides an interface for an entity type and its metadata.

Namespace

Drupal\Core\Entity

Code

public function setViewBuilderClass($class);