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

1
2
3
4
5
public function __construct(EntityStorageInterface $storage, ActionManager $action_manager) {
  parent::__construct($storage);
 
  $this->actionManager = $action_manager;
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.