function SiteInformationForm::create

Same name in other branches
  1. 9 core/modules/system/src/Form/SiteInformationForm.php \Drupal\system\Form\SiteInformationForm::create()
  2. 8.9.x core/modules/system/src/Form/SiteInformationForm.php \Drupal\system\Form\SiteInformationForm::create()
  3. 10 core/modules/system/src/Form/SiteInformationForm.php \Drupal\system\Form\SiteInformationForm::create()

Overrides ConfigFormBase::create

File

core/modules/system/src/Form/SiteInformationForm.php, line 67

Class

SiteInformationForm
Configure site information settings for this site.

Namespace

Drupal\system\Form

Code

public static function create(ContainerInterface $container) {
    return new static($container->get('config.factory'), $container->get('config.typed'), $container->get('path_alias.manager'), $container->get('path.validator'), $container->get('router.request_context'));
}

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