You are here

public function ActionFormBase::__construct in Zircon Profile 8

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

Constructs a new action form.

Parameters

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

1 call to ActionFormBase::__construct()
ActionAddForm::__construct in core/modules/action/src/ActionAddForm.php
Constructs a new ActionAddForm.
1 method overrides ActionFormBase::__construct()
ActionAddForm::__construct in core/modules/action/src/ActionAddForm.php
Constructs a new ActionAddForm.

File

core/modules/action/src/ActionFormBase.php, line 41
Contains \Drupal\action\ActionFormBase.

Class

ActionFormBase
Provides a base form for action forms.

Namespace

Drupal\action

Code

public function __construct(EntityStorageInterface $storage) {
  $this->storage = $storage;
}