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_
- Search main for hook_
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| 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. |
| TestHtmxHooks | class | core/ |
Hooks for the test_htmx module. |
| TestHtmxHooks.php | file | core/ |
|
| TestHtmxHooks::boost | function | core/ |
Implements hook_preprocess_HOOK() for html. |
| TestHtmxHooks::__construct | function | core/ |
|
| 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. |
| TestingSiteConfigHooks | class | core/ |
Simulates a hook class with a dependency chain requiring the kernel. |
| TestingSiteConfigHooks.php | file | core/ |
|
| TestingSiteConfigHooks::userLoad | function | core/ |
Implements hook_user_load(). |
| TestingSiteConfigHooks::__construct | function | core/ |
|
| 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')] #[ReorderHook('test_hook_alter', self::class, 'testHook', Order::First)] |
| 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)] |
Pagination
- Previous page
- Page 54
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.