function DevelopmentSettingsForm::create

Same name in other branches
  1. 10 core/modules/system/src/Form/DevelopmentSettingsForm.php \Drupal\system\Form\DevelopmentSettingsForm::create()

Overrides FormBase::create

File

core/modules/system/src/Form/DevelopmentSettingsForm.php, line 35

Class

DevelopmentSettingsForm
Configure development settings for this site.

Namespace

Drupal\system\Form

Code

public static function create(ContainerInterface $container) {
    $instance = new static($container->get('keyvalue'), $container->get('kernel'));
    $instance->setMessenger($container->get('messenger'));
    return $instance;
}

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