ActionAddForm::__construct

public ActionAddForm::__construct(EntityStorageInterface $storage, ActionManager $action_manager)

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 31

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

Please login to continue.