function AdminController::create

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

Overrides ControllerBase::create

File

core/modules/system/src/Controller/AdminController.php, line 39

Class

AdminController
Controller for admin section.

Namespace

Drupal\system\Controller

Code

public static function create(ContainerInterface $container) {
    return new static($container->get('extension.list.module'));
}

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