function EntityTypeInterface::setViewBuilderClass
Same name in other branches
- 9 core/lib/Drupal/Core/Entity/EntityTypeInterface.php \Drupal\Core\Entity\EntityTypeInterface::setViewBuilderClass()
- 8.9.x core/lib/Drupal/Core/Entity/EntityTypeInterface.php \Drupal\Core\Entity\EntityTypeInterface::setViewBuilderClass()
- 10 core/lib/Drupal/Core/Entity/EntityTypeInterface.php \Drupal\Core\Entity\EntityTypeInterface::setViewBuilderClass()
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 327
Class
- EntityTypeInterface
- Provides an interface for an entity type and its metadata.
Namespace
Drupal\Core\EntityCode
public function setViewBuilderClass($class);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.