public function SiteInformationForm::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/system/src/Form/SiteInformationForm.php \Drupal\system\Form\SiteInformationForm::__construct()
Constructs a SiteInformationForm object.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.
\Drupal\Core\Path\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
- core/
modules/ system/ src/ Form/ SiteInformationForm.php, line 56 - Contains \Drupal\system\Form\SiteInformationForm.
Class
- SiteInformationForm
- Configure site information settings for this site.
Namespace
Drupal\system\FormCode
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;
}