function SiteConfigureForm::create

Same name in other branches
  1. 9 core/lib/Drupal/Core/Installer/Form/SiteConfigureForm.php \Drupal\Core\Installer\Form\SiteConfigureForm::create()
  2. 10 core/lib/Drupal/Core/Installer/Form/SiteConfigureForm.php \Drupal\Core\Installer\Form\SiteConfigureForm::create()
  3. 11.x core/lib/Drupal/Core/Installer/Form/SiteConfigureForm.php \Drupal\Core\Installer\Form\SiteConfigureForm::create()

Overrides ConfigFormBase::create

File

core/lib/Drupal/Core/Installer/Form/SiteConfigureForm.php, line 92

Class

SiteConfigureForm
Provides the site configuration form.

Namespace

Drupal\Core\Installer\Form

Code

public static function create(ContainerInterface $container) {
    return new static($container->get('app.root'), $container->get('site.path'), $container->get('entity_type.manager')
        ->getStorage('user'), $container->get('state'), $container->get('module_installer'), $container->get('country_manager'));
}

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