You are here

public function TokenCommands::__construct in Token 8

TokenCommands constructor.

Parameters

\Drupal\Core\Extension\ModuleHandlerInterface $moduleHandler: The module_handler service.

File

src/Commands/TokenCommands.php, line 26

Class

TokenCommands
TokenCommands provides the Drush hook implementation for cache clears.

Namespace

Drupal\token\Commands

Code

public function __construct(ModuleHandlerInterface $moduleHandler) {
  $this->moduleHandler = $moduleHandler;
}