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 11.x for hook_
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| HookDiscovery::__construct | function | core/ |
Constructs a Drupal\Core\Plugin\Discovery\HookDiscovery object. |
| HookDiscoveryTest | class | core/ |
Tests Drupal\Core\Plugin\Discovery\HookDiscovery. |
| HookDiscoveryTest.php | file | core/ |
|
| HookDiscoveryTest::$hookDiscovery | property | core/ |
The tested hook discovery. |
| HookDiscoveryTest::$moduleHandler | property | core/ |
The mocked module handler. |
| HookDiscoveryTest::hookDiscoveryTest2TestPlugin | function | core/ |
|
| HookDiscoveryTest::hookDiscoveryTestTestPlugin | function | core/ |
|
| HookDiscoveryTest::setUp | function | core/ |
|
| HookDiscoveryTest::testGetDefinition | function | core/ |
Tests the getDefinition method with some plugins. |
| HookDiscoveryTest::testGetDefinitions | function | core/ |
Tests the getDefinitions() method with some plugins. |
| HookDiscoveryTest::testGetDefinitionsWithoutPlugins | function | core/ |
Tests the getDefinitions() method without any plugins. |
| HookDiscoveryTest::testGetDefinitionWithUnknownID | function | core/ |
Tests the getDefinition method with an unknown plugin ID. |
| HookHelpSection | class | core/ |
Provides the module topics list section for the help page. |
| HookHelpSection.php | file | core/ |
|
| HookHelpSection::$moduleHandler | property | core/ |
The module handler. |
| HookHelpSection::listTopics | function | core/ |
Returns a list of topics to show in the help section. |
| HookHelpSection::__construct | function | core/ |
Constructs a HookHelpSection object. |
| HookLoaderTest | class | core/ |
Test hook loading. |
| HookLoaderTest.php | file | core/ |
|
| HookLoaderTest::$modules | property | core/ |
Modules to install. |
| HookLoaderTest::testHookOrder | function | core/ |
Test hook implementation order. |
| HookOrderTest | class | core/ |
Tests Hook Order. |
| HookOrderTest.php | file | core/ |
|
| HookOrderTest::$modules | property | core/ |
Modules to install. |
| HookOrderTest::testBothParametersHookOrder | function | core/ |
Tests ordering of 'test_both_parameters_hook' with all parameters defined. |
| HookOrderTest::testHookOrder | function | core/ |
Tests hook order using OO and procedural implementations of 'test_hook'. |
| HookOrderTest::testHookReorderProcedural | function | core/ |
Test procedural hook ordering using, 'test_procedural_reorder'. |
| HookOrderTest::testReorderMissingTarget | function | core/ |
Tests the ReorderHook attribute with a missing target. |
| HookOrderTest::testSparseHookOrder | function | core/ |
Tests hook order when each module has either OO or procedural listeners. |
| HookOrderTestTrait | trait | core/ |
Provides methods to support testing hooks. |
| HookOrderTestTrait.php | file | core/ |
|
| HookOrderTestTrait::assertSameCallList | function | core/ |
Asserts that two lists of call strings are the same. |
| HookRequirementsTest | class | core/ |
Attempts enabling a module that fails hook_requirements('install'). |
| HookRequirementsTest.php | file | core/ |
|
| HookRequirementsTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| HookRequirementsTest::testHookRequirementsFailure | function | core/ |
Assert that a module cannot be installed if it fails hook_requirements(). |
| Hooks | group | core/ |
Define functions that alter the behavior of Drupal core. |
| hook_ajax_render_alter | function | core/ |
Alter the Ajax command data that is sent to the client. |
| hook_batch_alter | function | core/ |
Alter batch information before a batch is processed. |
| hook_block_access | function | core/ |
Control access to a block instance. |
| hook_block_alter | function | core/ |
Allow modules to alter the block plugin definitions. |
| hook_block_build_alter | function | core/ |
Alter the result of \Drupal\Core\Block\BlockBase::build(). |
| hook_block_build_BASE_BLOCK_ID_alter | function | core/ |
Provide a block plugin specific block_build alteration. |
| hook_block_view_alter | function | core/ |
Alter the result of \Drupal\Core\Block\BlockBase::build(). |
| hook_block_view_BASE_BLOCK_ID_alter | function | core/ |
Provide a block plugin specific block_view alteration. |
| hook_cache_flush | function | core/ |
Flush all persistent and static caches. |
| hook_ckeditor5_plugin_info_alter | function | core/ |
Modify the list of available CKEditor 5 plugins. |
| hook_collector_hook_attribute.info.yml | file | core/ |
core/modules/system/tests/modules/hook_collector_hook_attribute/hook_collector_hook_attribute.info.yml |
| hook_collector_on_behalf.info.yml | file | core/ |
core/modules/system/tests/modules/hook_collector_on_behalf/hook_collector_on_behalf.info.yml |
| hook_collector_on_behalf_cache_flush | function | core/ |
This implements a hook but should not be picked up. |
Pagination
- Previous page
- Page 22
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.