SystemController::__construct

public SystemController::__construct(SystemManager $systemManager, QueryFactory $queryFactory, ThemeAccessCheck $theme_access, FormBuilderInterface $form_builder, ThemeHandlerInterface $theme_handler, MenuLinkTreeInterface $menu_link_tree)

Constructs a new SystemController.

Parameters

\Drupal\system\SystemManager $systemManager: System manager service.

\Drupal\Core\Entity\Query\QueryFactory $queryFactory: The entity query object.

\Drupal\Core\Theme\ThemeAccessCheck $theme_access: The theme access checker service.

\Drupal\Core\Form\FormBuilderInterface $form_builder: The form builder.

\Drupal\Core\Extension\ThemeHandlerInterface $theme_handler: The theme handler.

\Drupal\Core\Menu\MenuLinkTreeInterface $menu_link_tree: The menu link tree service.

File

core/modules/system/src/Controller/SystemController.php, line 80

Class

SystemController
Returns responses for System routes.

Namespace

Drupal\system\Controller

Code

public function __construct(SystemManager $systemManager, QueryFactory $queryFactory, ThemeAccessCheck $theme_access, FormBuilderInterface $form_builder, ThemeHandlerInterface $theme_handler, MenuLinkTreeInterface $menu_link_tree) {
  $this->systemManager = $systemManager;
  $this->queryFactory = $queryFactory;
  $this->themeAccess = $theme_access;
  $this->formBuilder = $form_builder;
  $this->themeHandler = $theme_handler;
  $this->menuLinkTree = $menu_link_tree;
}
doc_Drupal
2016-10-29 09:45:45
Comments
Leave a Comment

Please login to continue.