function SettingsForm::__construct
Same name in other branches
- 9 core/modules/aggregator/src/Form/SettingsForm.php \Drupal\aggregator\Form\SettingsForm::__construct()
- 8.9.x core/modules/aggregator/src/Form/SettingsForm.php \Drupal\aggregator\Form\SettingsForm::__construct()
- 11.x core/modules/navigation/src/Form/SettingsForm.php \Drupal\navigation\Form\SettingsForm::__construct()
Constructs a Navigation SettingsForm object.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.
\Drupal\Core\Config\TypedConfigManagerInterface $typed_config_manager: The typed config manager.
\Drupal\Core\File\FileSystemInterface $file_system: File system service.
\Drupal\Core\File\FileUrlGeneratorInterface $fileUrlGenerator: The file URL generator.
\Drupal\file\FileUsage\FileUsageInterface $fileUsage: The File Usage service.
\Drupal\Core\Render\RendererInterface $renderer: Renderer service.
Overrides ConfigFormBase::__construct
File
-
core/
modules/ navigation/ src/ Form/ SettingsForm.php, line 71
Class
- SettingsForm
- Configure Navigation settings for this site.
Namespace
Drupal\navigation\FormCode
public function __construct(ConfigFactoryInterface $config_factory, TypedConfigManagerInterface $typed_config_manager, FileSystemInterface $file_system, FileUrlGeneratorInterface $fileUrlGenerator, FileUsageInterface $fileUsage, RendererInterface $renderer) {
parent::__construct($config_factory, $typed_config_manager);
$this->fileSystem = $file_system;
$this->fileUrlGenerator = $fileUrlGenerator;
$this->fileUsage = $fileUsage;
$this->renderer = $renderer;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.