SystemManager::getMaxSeverity

public SystemManager::getMaxSeverity(&$requirements) Extracts the highest severity from the requirements array. Parameters $requirements: An array of requirements, in the same format as is returned by hook_requirements(). Return value The highest severity in the array. File core/modules/system/src/SystemManager.php, line 136 Class SystemManager System Manager Service. Namespace Drupal\system Code public function getMaxSeverity(&$requirements) { $severity = static::REQUIREME

SystemManager::getBlockContents

public SystemManager::getBlockContents() Loads the contents of a menu block. This function is often a destination for these blocks. For example, 'admin/structure/types' needs to have a destination to be valid in the Drupal menu system, but too much information there might be hidden, so we supply the contents of the block. Return value array A render array suitable for drupal_render. File core/modules/system/src/SystemManager.php, line 157 Class SystemManager System Manager Service. Name

SystemManager::REQUIREMENT_ERROR

Requirement severity -- Error condition; abort installation. File core/modules/system/src/SystemManager.php, line 66 Class SystemManager System Manager Service. Namespace Drupal\system Code const REQUIREMENT_ERROR = 2;

SystemManager::listRequirements

public SystemManager::listRequirements() Displays the site status report. Can also be used as a pure check. Return value array An array of system requirements. File core/modules/system/src/SystemManager.php, line 106 Class SystemManager System Manager Service. Namespace Drupal\system Code public function listRequirements() { // Load .install files include_once DRUPAL_ROOT . '/core/includes/install.inc'; drupal_load_updates(); // Check run-time requirements and status informat

SystemManager::REQUIREMENT_OK

Requirement severity -- Requirement successfully met. File core/modules/system/src/SystemManager.php, line 56 Class SystemManager System Manager Service. Namespace Drupal\system Code const REQUIREMENT_OK = 0;

SystemManager::$requestStack

The request stack. Type: \Symfony\Component\HttpFoundation\RequestStack File core/modules/system/src/SystemManager.php, line 30 Class SystemManager System Manager Service. Namespace Drupal\system Code protected $requestStack;

SystemManager::$menuTree

The menu link tree manager. Type: \Drupal\Core\Menu\MenuLinkTreeInterface File core/modules/system/src/SystemManager.php, line 37 Class SystemManager System Manager Service. Namespace Drupal\system Code protected $menuTree;

SystemManager::$menuActiveTrail

The active menu trail service. Type: \Drupal\Core\Menu\MenuActiveTrailInterface File core/modules/system/src/SystemManager.php, line 44 Class SystemManager System Manager Service. Namespace Drupal\system Code protected $menuActiveTrail;

SystemManager::checkRequirements

public SystemManager::checkRequirements() Checks for requirement severity. Return value bool Returns the status of the system. File core/modules/system/src/SystemManager.php, line 95 Class SystemManager System Manager Service. Namespace Drupal\system Code public function checkRequirements() { $requirements = $this->listRequirements(); return $this->getMaxSeverity($requirements) == static::REQUIREMENT_ERROR; }

SystemManager::$menuItems

A static cache of menu items. Type: array File core/modules/system/src/SystemManager.php, line 51 Class SystemManager System Manager Service. Namespace Drupal\system Code protected $menuItems;