function SystemInfoController::create

Same name and namespace in other branches
  1. 11.x core/modules/system/src/Controller/SystemInfoController.php \Drupal\system\Controller\SystemInfoController::create()

File

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

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.