function ActionFormBase::create

Same name in other branches
  1. 8.9.x core/modules/action/src/Form/ActionFormBase.php \Drupal\action\Form\ActionFormBase::create()
  2. 10 core/modules/action/src/Form/ActionFormBase.php \Drupal\action\Form\ActionFormBase::create()
  3. 11.x core/modules/action/src/Form/ActionFormBase.php \Drupal\action\Form\ActionFormBase::create()

Overrides FormBase::create

File

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

Class

ActionFormBase
Provides a base form for action forms.

Namespace

Drupal\action\Form

Code

public static function create(ContainerInterface $container) {
    return new static($container->get('entity_type.manager')
        ->getStorage('action'));
}

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