RegionalForm::__construct

public RegionalForm::__construct(ConfigFactoryInterface $config_factory, CountryManagerInterface $country_manager)

Constructs a RegionalForm object.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.

\Drupal\Core\Locale\CountryManagerInterface $country_manager: The country manager.

Overrides ConfigFormBase::__construct

File

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

Class

RegionalForm
Configure regional settings for this site.

Namespace

Drupal\system\Form

Code

1
2
3
4
public function __construct(ConfigFactoryInterface $config_factory, CountryManagerInterface $country_manager) {
  parent::__construct($config_factory);
  $this->countryManager = $country_manager;
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.