function RenderExampleDemoForm::create

Same name in other branches
  1. 4.0.x modules/render_example/src/Form/RenderExampleDemoForm.php \Drupal\render_example\Form\RenderExampleDemoForm::create()

Overrides ConfigFormBase::create

File

modules/render_example/src/Form/RenderExampleDemoForm.php, line 43

Class

RenderExampleDemoForm
Provides the form for toggling module features on and off.

Namespace

Drupal\render_example\Form

Code

public static function create(ContainerInterface $container) {
    return new static($container->get('config.factory'), $container->get('module_handler'));
}