function RegionalForm::create

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

Overrides ConfigFormBase::create

File

core/modules/system/src/Form/RegionalForm.php, line 48

Class

RegionalForm
Configure regional 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('country_manager'));
}

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