You are here

public function DevelCommands::getModuleHandler in Devel 8

Same name and namespace in other branches
  1. 8.3 src/Commands/DevelCommands.php \Drupal\devel\Commands\DevelCommands::getModuleHandler()
  2. 8.2 src/Commands/DevelCommands.php \Drupal\devel\Commands\DevelCommands::getModuleHandler()
  3. 4.x src/Commands/DevelCommands.php \Drupal\devel\Commands\DevelCommands::getModuleHandler()

Return value

\Drupal\Core\Extension\ModuleHandlerInterface

File

src/Commands/DevelCommands.php, line 40

Class

DevelCommands
For commands that are parts of modules, Drush expects to find commandfiles in __MODULE__/src/Commands, and the namespace is Drupal/__MODULE__/Commands.

Namespace

Drupal\devel\Commands

Code

public function getModuleHandler() {
  return $this->moduleHandler;
}