ControllerBase::$moduleHandler

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Controller/ControllerBase.php \Drupal\Core\Controller\ControllerBase::moduleHandler
  2. 8.9.x core/lib/Drupal/Core/Controller/ControllerBase.php \Drupal\Core\Controller\ControllerBase::moduleHandler
  3. 10 core/lib/Drupal/Core/Controller/ControllerBase.php \Drupal\Core\Controller\ControllerBase::moduleHandler

The module handler.

Type: \Drupal\Core\Extension\ModuleHandlerInterface

File

core/lib/Drupal/Core/Controller/ControllerBase.php, line 97

Class

ControllerBase
Utility base class for thin controllers.

Namespace

Drupal\Core\Controller

Code

protected $moduleHandler;

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