ActionListBuilder::__construct

public ActionListBuilder::__construct(EntityTypeInterface $entity_type, EntityStorageInterface $storage, ActionManager $action_manager)

Constructs a new ActionListBuilder object.

Parameters

\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition.

\Drupal\Core\Entity\EntityStorageInterface $storage: The action storage.

\Drupal\Core\Action\ActionManager $action_manager: The action plugin manager.

Overrides EntityListBuilder::__construct

File

core/modules/action/src/ActionListBuilder.php, line 42

Class

ActionListBuilder
Defines a class to build a listing of action entities.

Namespace

Drupal\action

Code

public function __construct(EntityTypeInterface $entity_type, EntityStorageInterface $storage, ActionManager $action_manager) {
  parent::__construct($entity_type, $storage);

  $this->actionManager = $action_manager;
}
doc_Drupal
2016-10-29 08:43:22
Comments
Leave a Comment

Please login to continue.