function AdminController::__construct

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

AdminController constructor.

Parameters

\Drupal\Core\Extension\ModuleExtensionList $extension_list_module: The module extension list.

File

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

Class

AdminController
Controller for admin section.

Namespace

Drupal\system\Controller

Code

public function __construct(ModuleExtensionList $extension_list_module) {
    $this->moduleExtensionList = $extension_list_module;
}

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