You are here

public function DomainConfigSettingsForm::__construct in Domain Site Settings 8

Constructs a SiteInformationForm object.

Parameters

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

\Drupal\path_alias\AliasManagerInterface $alias_manager: The path alias manager.

\Drupal\Core\Path\PathValidatorInterface $path_validator: The path validator.

\Drupal\Core\Routing\RequestContext $request_context: The request context.

Overrides ConfigFormBase::__construct

File

src/Form/DomainConfigSettingsForm.php, line 54

Class

DomainConfigSettingsForm
Save domain config settings.

Namespace

Drupal\domain_site_settings\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, AliasManagerInterface $alias_manager, PathValidatorInterface $path_validator, RequestContext $request_context) {
  parent::__construct($config_factory);
  $this->aliasManager = $alias_manager;
  $this->pathValidator = $path_validator;
  $this->requestContext = $request_context;
}