You are here

public function Hooks::__construct in Lightning Core 8.3

Same name and namespace in other branches
  1. 8.5 src/Commands/Hooks.php \Drupal\lightning_core\Commands\Hooks::__construct()
  2. 8.2 src/Commands/Hooks.php \Drupal\lightning_core\Commands\Hooks::__construct()
  3. 8.4 src/Commands/Hooks.php \Drupal\lightning_core\Commands\Hooks::__construct()

Hooks constructor.

Parameters

\Drupal\Core\Plugin\CachedDiscoveryClearerInterface $plugin_cache_clearer: The plugin cache clearer service.

File

src/Commands/Hooks.php, line 26

Class

Hooks
Implements Drush command hooks.

Namespace

Drupal\lightning_core\Commands

Code

public function __construct(CachedDiscoveryClearerInterface $plugin_cache_clearer) {
  $this->pluginCacheClearer = $plugin_cache_clearer;
}