function SystemInfoController::create

Same name in other branches
  1. 9 core/modules/system/src/Controller/SystemInfoController.php \Drupal\system\Controller\SystemInfoController::create()
  2. 8.9.x core/modules/system/src/Controller/SystemInfoController.php \Drupal\system\Controller\SystemInfoController::create()
  3. 10 core/modules/system/src/Controller/SystemInfoController.php \Drupal\system\Controller\SystemInfoController::create()

Overrides ContainerInjectionInterface::create

File

core/modules/system/src/Controller/SystemInfoController.php, line 29

Class

SystemInfoController
Returns responses for System Info routes.

Namespace

Drupal\system\Controller

Code

public static function create(ContainerInterface $container) {
    return new static($container->get('system.manager'));
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.