HookDiscovery::$hook

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Plugin/Discovery/HookDiscovery.php \Drupal\Core\Plugin\Discovery\HookDiscovery::hook
  2. 10 core/lib/Drupal/Core/Plugin/Discovery/HookDiscovery.php \Drupal\Core\Plugin\Discovery\HookDiscovery::hook
  3. 11.x core/lib/Drupal/Core/Plugin/Discovery/HookDiscovery.php \Drupal\Core\Plugin\Discovery\HookDiscovery::hook

The name of the hook that will be implemented by this discovery instance.

Type: string

File

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

Class

HookDiscovery
Provides a hook-based plugin discovery class.

Namespace

Drupal\Core\Plugin\Discovery

Code

protected $hook;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.