Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/Plugin/Discovery/HookDiscovery.php \Drupal\Core\Plugin\Discovery\HookDiscovery::moduleHandler
  2. 9 core/lib/Drupal/Core/Plugin/Discovery/HookDiscovery.php \Drupal\Core\Plugin\Discovery\HookDiscovery::moduleHandler

The module handler used to find and execute the plugin hook.

Type: \Drupal\Core\Extension\ModuleHandlerInterface

File

core/lib/Drupal/Core/Plugin/Discovery/HookDiscovery.php, line 28

Class

HookDiscovery
Provides a hook-based plugin discovery class.

Namespace

Drupal\Core\Plugin\Discovery

Code

protected $moduleHandler;