SystemManager::$moduleHandler

Module handler service. Type: \Drupal\Core\Extension\ModuleHandlerInterface File core/modules/system/src/SystemManager.php, line 23 Class SystemManager System Manager Service. Namespace Drupal\system Code protected $moduleHandler;

SystemInfoController::__construct

public SystemInfoController::__construct(SystemManager $systemManager) Constructs a SystemInfoController object. Parameters \Drupal\system\SystemManager $systemManager: System manager service. File core/modules/system/src/Controller/SystemInfoController.php, line 37 Class SystemInfoController Returns responses for System Info routes. Namespace Drupal\system\Controller Code public function __construct(SystemManager $systemManager) { $this->systemManager = $systemManager; }

SystemManager

System Manager Service. Hierarchy class \Drupal\system\SystemManager File core/modules/system/src/SystemManager.php, line 16 Namespace Drupal\system Members Name Modifiers Type Description SystemManager::$menuActiveTrail protected property The active menu trail service. SystemManager::$menuItems protected property A static cache of menu items. SystemManager::$menuTree protected property The menu link tree manager. SystemManager::$moduleHandler protect

SystemInfoController::php

public SystemInfoController::php() Returns the contents of phpinfo(). Return value \Symfony\Component\HttpFoundation\Response A response object to be sent to the client. File core/modules/system/src/Controller/SystemInfoController.php, line 59 Class SystemInfoController Returns responses for System Info routes. Namespace Drupal\system\Controller Code public function php() { if (function_exists('phpinfo')) { ob_start(); phpinfo(); $output = ob_get_clean(); } else {

SystemInfoController::status

public SystemInfoController::status() Displays the site status report. Return value array A render array containing a list of system requirements for the Drupal installation and whether this installation meets the requirements. File core/modules/system/src/Controller/SystemInfoController.php, line 48 Class SystemInfoController Returns responses for System Info routes. Namespace Drupal\system\Controller Code public function status() { $requirements = $this->systemManager->listR

SystemInfoController::$systemManager

System Manager Service. Type: \Drupal\system\SystemManager File core/modules/system/src/Controller/SystemInfoController.php, line 20 Class SystemInfoController Returns responses for System Info routes. Namespace Drupal\system\Controller Code protected $systemManager;

SystemInfoController::create

public static SystemInfoController::create(ContainerInterface $container) Instantiates a new instance of this class. This is a factory method that returns a new instance of this class. The factory should pass any needed dependencies into the constructor of this class, but not the container itself. Every call to this method must return a new instance of this class; that is, it may not implement a singleton. Parameters \Symfony\Component\DependencyInjection\ContainerInterface $container: The ser

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 acc

SystemController::themesPage

public SystemController::themesPage() Returns a theme listing. @todo Move into ThemeController. Return value string An HTML string of the theme listing page. File core/modules/system/src/Controller/SystemController.php, line 195 Class SystemController Returns responses for System routes. Namespace Drupal\system\Controller Code public function themesPage() { $config = $this->config('system.theme'); // Get all available themes. $themes = $this->themeHandler->rebuildThemeD

SystemInfoController

Returns responses for System Info routes. Hierarchy class \Drupal\system\Controller\SystemInfoController implements ContainerInjectionInterface File core/modules/system/src/Controller/SystemInfoController.php, line 13 Namespace Drupal\system\Controller Members Name Modifiers Type Description SystemInfoController::$systemManager protected property System Manager Service. SystemInfoController::create public static function Instantiates a new instance of this class.