function SystemController::__construct
Same name and namespace in other branches
- 11.x core/modules/system/src/Controller/SystemController.php \Drupal\system\Controller\SystemController::__construct()
- 10 core/modules/system/src/Controller/SystemController.php \Drupal\system\Controller\SystemController::__construct()
- 9 core/modules/system/src/Controller/SystemController.php \Drupal\system\Controller\SystemController::__construct()
- 8.9.x core/modules/system/src/Controller/SystemController.php \Drupal\system\Controller\SystemController::__construct()
File
-
core/
modules/ system/ src/ Controller/ SystemController.php, line 28
Class
- SystemController
- Returns responses for System routes.
Namespace
Drupal\system\ControllerCode
public function __construct(protected SystemManager $systemManager, #[Autowire(service: 'access_check.theme')] protected ThemeAccessCheck $themeAccess, FormBuilderInterface $form_builder, protected MenuLinkTreeInterface $menuLinkTree, protected ModuleExtensionList $moduleExtensionList, protected ThemeExtensionList $themeExtensionList, protected ThemeManagerInterface $themeManager) {
$this->formBuilder = $form_builder;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.