EntityType::setListBuilderClass

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;
}
doc_Drupal
2016-10-29 09:08:08
Comments
Leave a Comment

Please login to continue.