function SystemController::create
Same name in other branches
- 8.9.x core/modules/system/src/Controller/SystemController.php \Drupal\system\Controller\SystemController::create()
- 10 core/modules/system/src/Controller/SystemController.php \Drupal\system\Controller\SystemController::create()
- 11.x core/modules/system/src/Controller/SystemController.php \Drupal\system\Controller\SystemController::create()
Overrides ControllerBase::create
File
-
core/
modules/ system/ src/ Controller/ SystemController.php, line 102
Class
- SystemController
- Returns responses for System routes.
Namespace
Drupal\system\ControllerCode
public static function create(ContainerInterface $container) {
return new static($container->get('system.manager'), $container->get('access_check.theme'), $container->get('form_builder'), $container->get('theme_handler'), $container->get('menu.link_tree'), $container->get('extension.list.module'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.