public function ActionListController::__construct

Constructs a new ActionListController object.

Parameters

string $entity_type: The entity type.

array $entity_info: An array of entity info for the entity type.

\Drupal\Core\Entity\EntityStorageControllerInterface $storage: The action storage controller.

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

\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler to invoke hooks on.

Overrides EntityListController::__construct

File

drupal/core/modules/action/lib/Drupal/action/ActionListController.php, line 51
Contains \Drupal\action\ActionListController.

Class

ActionListController
Provides a listing of Actions.

Namespace

Drupal\action

Code

public function __construct($entity_type, array $entity_info, EntityStorageControllerInterface $storage, ActionManager $action_manager, ModuleHandlerInterface $module_handler) {
  parent::__construct($entity_type, $entity_info, $storage, $module_handler);
  $this->actionManager = $action_manager;
}