namespace Drupal\Core\Hook\Attribute
Same name in other branches
| Object name | File name | Summary |
|---|---|---|
| Hook | core/lib/Drupal/Core/Hook/Attribute/Hook.php | Attribute for defining a class method as a hook implementation. |
| HookAttributeInterface | core/lib/Drupal/Core/Hook/Attribute/HookAttributeInterface.php | Common interface for attributes used for hook discovery. |
| LegacyHook | core/lib/Drupal/Core/Hook/Attribute/LegacyHook.php | Defines a LegacyHook attribute object. |
| LegacyModuleImplementsAlter | core/lib/Drupal/Core/Hook/Attribute/LegacyModuleImplementsAlter.php | Prevents procedural hook_module_implements_alter from executing. |
| ProceduralHookScanStop | core/lib/Drupal/Core/Hook/Attribute/ProceduralHookScanStop.php | Defines a ProceduralHookScanStop attribute object. |
| RemoveHook | core/lib/Drupal/Core/Hook/Attribute/RemoveHook.php | Removes an already existing implementation. |
| ReorderHook | core/lib/Drupal/Core/Hook/Attribute/ReorderHook.php | Sets the order of an already existing implementation. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.