You are here

public function ActionAddForm::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/action/src/ActionAddForm.php \Drupal\action\ActionAddForm::__construct()

Constructs a new ActionAddForm.

Parameters

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

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

Overrides ActionFormBase::__construct

File

core/modules/action/src/ActionAddForm.php, line 36
Contains \Drupal\action\ActionAddForm.

Class

ActionAddForm
Provides a form for action add forms.

Namespace

Drupal\action

Code

public function __construct(EntityStorageInterface $storage, ActionManager $action_manager) {
  parent::__construct($storage);
  $this->actionManager = $action_manager;
}