HookDiscovery::$hook
Same name in other branches
- 9 core/lib/Drupal/Core/Plugin/Discovery/HookDiscovery.php \Drupal\Core\Plugin\Discovery\HookDiscovery::hook
- 8.9.x core/lib/Drupal/Core/Plugin/Discovery/HookDiscovery.php \Drupal\Core\Plugin\Discovery\HookDiscovery::hook
- 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\DiscoveryCode
protected $hook;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.