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 |
|---|---|---|---|
| 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_admin_content_form_ignore_form_ids | function | core/ |
Register form IDs that should not use the content form. |
| hook_admin_content_form_routes | function | core/ |
Register routes to apply admin’s content edit form layout. |
| hook_admin_content_form_routes_alter | function | core/ |
Alter the registered routes to enable or disable admin’s edit form layout. |
| 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. |
| hook_collector_on_behalf_procedural.info.yml | file | core/ |
core/modules/system/tests/modules/hook_collector_on_behalf_procedural/hook_collector_on_behalf_procedural.info.yml |
| hook_collector_on_behalf_procedural.module | file | core/ |
|
| hook_collector_on_behalf_procedural_cache_flush | function | core/ |
This implements a hook but should not be picked up. |
| hook_collector_skip_procedural.info.yml | file | core/ |
core/modules/system/tests/modules/hook_collector_skip_procedural/hook_collector_skip_procedural.info.yml |
| hook_collector_skip_procedural.module | file | core/ |
|
| hook_collector_skip_procedural.services.yml | file | core/ |
core/modules/system/tests/modules/hook_collector_skip_procedural/hook_collector_skip_procedural.services.yml |
| hook_collector_skip_procedural_attribute.info.yml | file | core/ |
core/modules/system/tests/modules/hook_collector_skip_procedural_attribute/hook_collector_skip_procedural_attribute.info.yml |
| hook_collector_skip_procedural_attribute.module | file | core/ |
|
| hook_collector_skip_procedural_attribute_cache_flush | function | core/ |
This implements a hook and should be picked up. |
| hook_collector_skip_procedural_cache_flush | function | core/ |
This implements a hook but should not be picked up. |
| hook_collector_skip_procedural_custom_function | function | core/ |
|
| hook_comment_links_alter | function | core/ |
Alter the links of a comment. |
| hook_condition_info_alter | function | core/ |
Alter the information provided in ConditionManager::getDefinitions(). |
| hook_config_import_steps_alter | function | core/ |
Alter the configuration synchronization steps. |
| hook_config_schema_info_alter | function | core/ |
Alter config typed data definitions. |
| hook_config_translation_info | function | core/ |
Introduce dynamic translation tabs for translation of configuration. |
| hook_config_translation_info_alter | function | core/ |
Alter existing translation tabs for translation of configuration. |
| hook_contextual_links_alter | function | core/ |
Alter contextual links before they are rendered. |
| hook_contextual_links_plugins_alter | function | core/ |
Alter the plugin definition of contextual links. |
| hook_contextual_links_view_alter | function | core/ |
Alter a contextual links element before it is rendered. |
| hook_countries_alter | function | core/ |
Alter the default country list. |
| hook_cron | function | core/ |
Perform periodic actions. |
Pagination
- Previous page
- Page 25
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.