You are here

public function DevelCommands::getEventDispatcher in Devel 8.2

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

Return value

mixed

1 call to DevelCommands::getEventDispatcher()
DevelCommands::interactEvent in src/Commands/DevelCommands.php
@hook interact devel:event

File

src/Commands/DevelCommands.php, line 47

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 getEventDispatcher() {
  return $this->eventDispatcher;
}