You are here

public function ActionFormBase::__construct in Drupal 8

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

Constructs a new action form.

Parameters

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

File

core/modules/action/src/Form/ActionFormBase.php, line 36

Class

ActionFormBase
Provides a base form for action forms.

Namespace

Drupal\action\Form

Code

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