InfoHookDecorator::$hook
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Plugin/Discovery/InfoHookDecorator.php \Drupal\Core\Plugin\Discovery\InfoHookDecorator::hook
- 10 core/lib/Drupal/Core/Plugin/Discovery/InfoHookDecorator.php \Drupal\Core\Plugin\Discovery\InfoHookDecorator::hook
- 11.x core/lib/Drupal/Core/Plugin/Discovery/InfoHookDecorator.php \Drupal\Core\Plugin\Discovery\InfoHookDecorator::hook
The name of the info hook that will be implemented by this discovery instance.
Type: string
File
-
core/
lib/ Drupal/ Core/ Plugin/ Discovery/ InfoHookDecorator.php, line 27
Class
- InfoHookDecorator
- Allows info hook implementations to enhance discovered plugin definitions.
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.