Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 8.9.x for all
  4. Search 10.3.x for all
  5. Other projects
Title Object type File name Summary
HookHelpSection::$moduleHandler property core/modules/help/src/Plugin/HelpSection/HookHelpSection.php The module handler.
HookHelpSection::listTopics function core/modules/help/src/Plugin/HelpSection/HookHelpSection.php Returns a list of topics to show in the help section.
HookHelpSection::__construct function core/modules/help/src/Plugin/HelpSection/HookHelpSection.php Constructs a HookHelpSection object.
HookLoaderTest class core/tests/Drupal/KernelTests/Core/Hook/HookLoaderTest.php Test hook loading.
HookLoaderTest.php file core/tests/Drupal/KernelTests/Core/Hook/HookLoaderTest.php
HookLoaderTest::$modules property core/tests/Drupal/KernelTests/Core/Hook/HookLoaderTest.php Modules to install.
HookLoaderTest::testHookOrder function core/tests/Drupal/KernelTests/Core/Hook/HookLoaderTest.php Test hook implementation order.
HookOrderTest class core/tests/Drupal/KernelTests/Core/Hook/HookOrderTest.php Tests Hook Order.
HookOrderTest.php file core/tests/Drupal/KernelTests/Core/Hook/HookOrderTest.php
HookOrderTest::$modules property core/tests/Drupal/KernelTests/Core/Hook/HookOrderTest.php Modules to install.
HookOrderTest::testBothParametersHookOrder function core/tests/Drupal/KernelTests/Core/Hook/HookOrderTest.php Tests ordering of 'test_both_parameters_hook' with all parameters defined.
HookOrderTest::testHookOrder function core/tests/Drupal/KernelTests/Core/Hook/HookOrderTest.php Tests hook order using OO and procedural implementations of 'test_hook'.
HookOrderTest::testHookReorderProcedural function core/tests/Drupal/KernelTests/Core/Hook/HookOrderTest.php Test procedural hook ordering using, 'test_procedural_reorder'.
HookOrderTest::testReorderMissingTarget function core/tests/Drupal/KernelTests/Core/Hook/HookOrderTest.php Tests the ReorderHook attribute with a missing target.
HookOrderTest::testSparseHookOrder function core/tests/Drupal/KernelTests/Core/Hook/HookOrderTest.php Tests hook order when each module has either OO or procedural listeners.
HookOrderTestTrait trait core/tests/Drupal/KernelTests/Core/Hook/HookOrderTestTrait.php Provides methods to support testing hooks.
HookOrderTestTrait.php file core/tests/Drupal/KernelTests/Core/Hook/HookOrderTestTrait.php
HookOrderTestTrait::assertSameCallList function core/tests/Drupal/KernelTests/Core/Hook/HookOrderTestTrait.php Asserts that two lists of call strings are the same.
HookRequirementsTest class core/modules/system/tests/src/Functional/Module/HookRequirementsTest.php Attempts enabling a module that fails hook_requirements('install').
HookRequirementsTest.php file core/modules/system/tests/src/Functional/Module/HookRequirementsTest.php
HookRequirementsTest::$defaultTheme property core/modules/system/tests/src/Functional/Module/HookRequirementsTest.php The theme to install as the default for testing.
HookRequirementsTest::testHookRequirementsFailure function core/modules/system/tests/src/Functional/Module/HookRequirementsTest.php Assert that a module cannot be installed if it fails hook_requirements().
Hooks group core/core.api.php Define functions that alter the behavior of Drupal core.
hook_admin_content_form_ignore_form_ids function core/themes/admin/admin.api.php Register form IDs that should not use the content form.
hook_admin_content_form_routes function core/themes/admin/admin.api.php Register routes to apply admin’s content edit form layout.
hook_admin_content_form_routes_alter function core/themes/admin/admin.api.php Alter the registered routes to enable or disable admin’s edit form layout.
hook_ajax_render_alter function core/lib/Drupal/Core/Form/form.api.php Alter the Ajax command data that is sent to the client.
hook_archiver_info_alter function core/lib/Drupal/Core/File/file.api.php Alter archiver information declared by other modules.
hook_batch_alter function core/lib/Drupal/Core/Form/form.api.php Alter batch information before a batch is processed.
hook_block_access function core/modules/block/block.api.php Control access to a block instance.
hook_block_alter function core/modules/block/block.api.php Allow modules to alter the block plugin definitions.
hook_block_build_alter function core/modules/block/block.api.php Alter the result of \Drupal\Core\Block\BlockBase::build().
hook_block_build_BASE_BLOCK_ID_alter function core/modules/block/block.api.php Provide a block plugin specific block_build alteration.
hook_block_view_alter function core/modules/block/block.api.php Alter the result of \Drupal\Core\Block\BlockBase::build().
hook_block_view_BASE_BLOCK_ID_alter function core/modules/block/block.api.php Provide a block plugin specific block_view alteration.
hook_cache_flush function core/core.api.php Flush all persistent and static caches.
hook_ckeditor5_plugin_info_alter function core/modules/ckeditor5/ckeditor5.api.php Modify the list of available CKEditor 5 plugins.
hook_collector_depends_test.info.yml file core/modules/system/tests/modules/hook_collector_depends_test/hook_collector_depends_test.info.yml core/modules/system/tests/modules/hook_collector_depends_test/hook_collector_depends_test.info.yml
hook_collector_hook_attribute.info.yml file core/modules/system/tests/modules/hook_collector_hook_attribute/hook_collector_hook_attribute.info.yml core/modules/system/tests/modules/hook_collector_hook_attribute/hook_collector_hook_attribute.info.yml
hook_collector_on_behalf.info.yml file core/modules/system/tests/modules/hook_collector_on_behalf/hook_collector_on_behalf.info.yml core/modules/system/tests/modules/hook_collector_on_behalf/hook_collector_on_behalf.info.yml
hook_collector_on_behalf_cache_flush function core/modules/system/tests/modules/hook_collector_skip_procedural_attribute/hook_collector_skip_procedural_attribute.module This implements a hook but should not be picked up.
hook_collector_on_behalf_procedural.info.yml file core/modules/system/tests/modules/hook_collector_on_behalf_procedural/hook_collector_on_behalf_procedural.info.yml 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/modules/system/tests/modules/hook_collector_on_behalf_procedural/hook_collector_on_behalf_procedural.module
hook_collector_on_behalf_procedural_cache_flush function core/modules/system/tests/modules/hook_collector_skip_procedural_attribute/hook_collector_skip_procedural_attribute.module This implements a hook but should not be picked up.
hook_collector_skip_procedural.info.yml file core/modules/system/tests/modules/hook_collector_skip_procedural/hook_collector_skip_procedural.info.yml core/modules/system/tests/modules/hook_collector_skip_procedural/hook_collector_skip_procedural.info.yml
hook_collector_skip_procedural.module file core/modules/system/tests/modules/hook_collector_skip_procedural/hook_collector_skip_procedural.module
hook_collector_skip_procedural.services.yml file core/modules/system/tests/modules/hook_collector_skip_procedural/hook_collector_skip_procedural.services.yml core/modules/system/tests/modules/hook_collector_skip_procedural/hook_collector_skip_procedural.services.yml
hook_collector_skip_procedural_attribute.info.yml file core/modules/system/tests/modules/hook_collector_skip_procedural_attribute/hook_collector_skip_procedural_attribute.info.yml 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/modules/system/tests/modules/hook_collector_skip_procedural_attribute/hook_collector_skip_procedural_attribute.module
hook_collector_skip_procedural_attribute_cache_flush function core/modules/system/tests/modules/hook_collector_skip_procedural_attribute/hook_collector_skip_procedural_attribute.module This implements a hook and should be picked up.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.