Search for hook_
- Search 7.x for hook_
- Search 9.5.x for hook_
- Search 8.9.x for hook_
- Search 10.3.x for hook_
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| TestHookLast | class | core/ |
This class contains hook implementations. |
| TestHookLast | class | core/ |
This class contains hook implementations. |
| TestHookLast.php | file | core/ |
|
| TestHookLast.php | file | core/ |
|
| TestHookLast::hookLast | function | core/ |
This pair tests OrderLast. |
| TestHookLast::hookLast | function | core/ |
This pair tests OrderLast. |
| TestHookOrderExtraTypes | class | core/ |
This class contains hook implementations. |
| TestHookOrderExtraTypes | class | core/ |
This class contains hook implementations. |
| TestHookOrderExtraTypes.php | file | core/ |
|
| TestHookOrderExtraTypes.php | file | core/ |
|
| TestHookOrderExtraTypes::customHookExtraTypes | function | core/ |
This pair tests OrderAfter with ExtraTypes. |
| TestHookOrderExtraTypes::customHookExtraTypes | function | core/ |
This pair tests OrderAfter with ExtraTypes. |
| TestHookRemove | class | core/ |
Add a hook here, then remove it with another attribute. |
| TestHookRemove.php | file | core/ |
|
| TestHookRemove::hookDoNotRun | function | core/ |
This hook should not be run because the next hook replaces it. |
| TestHookRemove::hookDoRun | function | core/ |
This hook should run and prevent custom_hook1. |
| TestHookReorderHookFirst | class | core/ |
This class contains hook implementations. |
| TestHookReorderHookFirst.php | file | core/ |
|
| TestHookReorderHookFirst::customHookOverride | function | core/ |
This pair tests ReorderHook. |
| TestHookReorderHookLast | class | core/ |
This class contains hook implementations. |
| TestHookReorderHookLast.php | file | core/ |
|
| TestHookReorderHookLast::customHookOverride | function | core/ |
This pair tests ReorderHook. |
| TestingHooksProfile | class | core/ |
Hook implementation on behalf of another module. |
| TestingHooksProfile.php | file | core/ |
|
| TestingHooksProfile::flush | function | core/ |
Implements hook_cache_flush(). |
| TestingProfileHooksTest | class | core/ |
Tests installing the Testing profile with update notifications on. |
| TestingProfileHooksTest.php | file | core/ |
|
| TestingProfileHooksTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| TestingProfileHooksTest::$profile | property | core/ |
The profile to install as a basis for testing. |
| TestingProfileHooksTest::testHookPickup | function | core/ |
Test hooks are picked up. |
| testing_hooks.info.yml | file | core/ |
core/profiles/tests/testing_hooks/testing_hooks.info.yml |
| testing_hooks.profile | file | core/ |
|
| testing_hooks_cache_flush | function | core/ |
This implements cache_flush. |
| TestInvalidHookCollectionHooks | class | core/ |
Contains hooks that will throw exceptions during collection. |
| TestInvalidHookCollectionHooks | class | core/ |
Contains hooks that will throw exceptions during collection. |
| TestInvalidHookCollectionHooks | class | core/ |
Contains hooks that will throw exceptions during collection. |
| TestInvalidHookCollectionHooks | class | core/ |
Contains hooks that will throw exceptions during collection. |
| TestInvalidHookCollectionHooks.php | file | core/ |
|
| TestInvalidHookCollectionHooks.php | file | core/ |
|
| TestInvalidHookCollectionHooks.php | file | core/ |
|
| TestInvalidHookCollectionHooks.php | file | core/ |
|
| TestInvalidHookCollectionHooks::testHook | function | core/ |
#[Hook('test_hook_alter', module: 'test')] |
| TestInvalidHookCollectionHooks::testHook | function | core/ |
#[Hook('test_hook_alter')] #[RemoveHook('test_hook_alter', self::class, 'testHook')] |
| TestInvalidHookCollectionHooks::testHook | function | core/ |
#[Hook('test_hook_alter', order: Order::First)] |
| TestInvalidHookCollectionHooks::testHook | function | core/ |
#[Hook('test_hook_alter')] #[ReorderHook('test_hook_alter', self::class, 'testHook', Order::First)] |
| TestModuleRequiredByThemeHooks | class | core/ |
Hook implementations for test_module_required_by_theme. |
| TestModuleRequiredByThemeHooks.php | file | core/ |
|
| TestModuleRequiredByThemeHooks::systemInfoAlter | function | core/ |
Implements hook_system_info_alter(). |
| TextHooks | class | core/ |
Hook implementations for text. |
| TextHooks.php | file | core/ |
Pagination
- Previous page
- Page 50
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.