function 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.