function DevelGenerateForm::create

Same name in other branches
  1. 8.x-1.x devel_generate/src/Form/DevelGenerateForm.php \Drupal\devel_generate\Form\DevelGenerateForm::create()
  2. 5.x devel_generate/src/Form/DevelGenerateForm.php \Drupal\devel_generate\Form\DevelGenerateForm::create()

Overrides FormBase::create

File

devel_generate/src/Form/DevelGenerateForm.php, line 35

Class

DevelGenerateForm
Defines a form that allows privileged users to generate entities.

Namespace

Drupal\devel_generate\Form

Code

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