InfoHookDecorator::$hook

Same name in other branches
  1. 9 core/lib/Drupal/Core/Plugin/Discovery/InfoHookDecorator.php \Drupal\Core\Plugin\Discovery\InfoHookDecorator::hook
  2. 8.9.x core/lib/Drupal/Core/Plugin/Discovery/InfoHookDecorator.php \Drupal\Core\Plugin\Discovery\InfoHookDecorator::hook
  3. 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\Discovery

Code

protected $hook;

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