function ActionFormBase::__construct

Same name in other branches
  1. 9 core/modules/action/src/Form/ActionFormBase.php \Drupal\action\Form\ActionFormBase::__construct()
  2. 10 core/modules/action/src/Form/ActionFormBase.php \Drupal\action\Form\ActionFormBase::__construct()
  3. 11.x 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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.