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.