public function ActionFormBase::__construct in Drupal 10
Same name and namespace in other branches
- 8 core/modules/action/src/Form/ActionFormBase.php \Drupal\action\Form\ActionFormBase::__construct()
- 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\FormCode
public function __construct(EntityStorageInterface $storage) {
$this->storage = $storage;
}