8.3.x EntityType.php public EntityType::setListBuilderClass($class)
8.0.x EntityType.php public EntityType::setListBuilderClass($class)
8.1.x EntityType.php public EntityType::setListBuilderClass($class)
8.2.x EntityType.php public EntityType::setListBuilderClass($class)
8.4.x EntityType.php public EntityType::setListBuilderClass($class)

Sets the list class.

Parameters

string $class: The list class to use for the operation.

Return value

$this

Overrides EntityTypeInterface::setListBuilderClass

File

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

Class

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

Namespace

Drupal\Core\Entity

Code

public function setListBuilderClass($class) {
  $this->handlers['list_builder'] = $class;
  return $this;
}