function ActionListBuilder::__construct
Same name in other branches
- 9 core/modules/action/src/ActionListBuilder.php \Drupal\action\ActionListBuilder::__construct()
- 10 core/modules/action/src/ActionListBuilder.php \Drupal\action\ActionListBuilder::__construct()
- 11.x core/modules/action/src/ActionListBuilder.php \Drupal\action\ActionListBuilder::__construct()
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\actionCode
public function __construct(EntityTypeInterface $entity_type, EntityStorageInterface $storage, ActionManager $action_manager) {
parent::__construct($entity_type, $storage);
$this->actionManager = $action_manager;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.