Search for hook_

  1. Search 7.x for hook_
  2. Search 9.5.x for hook_
  3. Search 8.9.x for hook_
  4. Search 10.3.x for hook_
  5. Other projects
Title Object type File name Summary
BlockHooks::help function core/modules/block/src/Hook/BlockHooks.php Implements hook_help().
BlockHooks::menuDelete function core/modules/block/src/Hook/BlockHooks.php Implements hook_ENTITY_TYPE_delete() for menu entities.
BlockHooks::modulesInstalled function core/modules/block/src/Hook/BlockHooks.php Implements hook_modules_installed().
BlockHooks::pageTop function core/modules/block/src/Hook/BlockHooks.php Implements hook_page_top().
BlockHooks::preprocessBlock function core/modules/block/src/Hook/BlockHooks.php Prepares variables for block templates.
BlockHooks::rebuild function core/modules/block/src/Hook/BlockHooks.php Implements hook_rebuild().
BlockHooks::theme function core/modules/block/src/Hook/BlockHooks.php Implements hook_theme().
BlockHooks::themesInstalled function core/modules/block/src/Hook/BlockHooks.php Implements hook_themes_installed().
BlockHooks::userRoleDelete function core/modules/block/src/Hook/BlockHooks.php Implements hook_ENTITY_TYPE_delete() for user_role entities.
BlockTemplateSuggestionsTest::testBlockThemeHookSuggestions function core/modules/block/tests/src/Kernel/BlockTemplateSuggestionsTest.php Tests template suggestions from the block module.
BlockTemplateSuggestionsTest::testBlockThemeHookSuggestions function core/modules/block_content/tests/src/Kernel/BlockTemplateSuggestionsTest.php Tests template suggestions from block_content_theme_suggestions_block().
BlockTestHooks class core/modules/block/tests/modules/block_test/src/Hook/BlockTestHooks.php Hook implementations for block_test.
BlockTestHooks.php file core/modules/block/tests/modules/block_test/src/Hook/BlockTestHooks.php
BlockTestHooks::blockAlter function core/modules/block/tests/modules/block_test/src/Hook/BlockTestHooks.php Implements hook_block_alter().
BlockTestHooks::blockBuildTestCacheAlter function core/modules/block/tests/modules/block_test/src/Hook/BlockTestHooks.php Implements hook_block_build_BASE_BLOCK_ID_alter().
BlockTestHooks::blockViewPageTitleBlockAlter function core/modules/block/tests/modules/block_test/src/Hook/BlockTestHooks.php Implements hook_block_view_BASE_BLOCK_ID_alter().
BlockTestHooks::blockViewTestCacheAlter function core/modules/block/tests/modules/block_test/src/Hook/BlockTestHooks.php Implements hook_block_view_BASE_BLOCK_ID_alter().
BlockThemeHooks class core/modules/block/src/Hook/BlockThemeHooks.php Hook implementations for block.
BlockThemeHooks.php file core/modules/block/src/Hook/BlockThemeHooks.php
BlockThemeHooks::themeSuggestionsBlock function core/modules/block/src/Hook/BlockThemeHooks.php Implements hook_theme_suggestions_HOOK().
BMissingTargetHooks class core/modules/system/tests/modules/HookOrder/bbb_hook_order_test/src/Hook/BMissingTargetHooks.php Contains hook implementations.
BMissingTargetHooks.php file core/modules/system/tests/modules/HookOrder/bbb_hook_order_test/src/Hook/BMissingTargetHooks.php
BMissingTargetHooks::testABHookRemovedByXyz function core/modules/system/tests/modules/HookOrder/bbb_hook_order_test/src/Hook/BMissingTargetHooks.php Implements hook_test_ab_hook().
BMissingTargetHooks::testABHookReorderedFirstByXyz function core/modules/system/tests/modules/HookOrder/bbb_hook_order_test/src/Hook/BMissingTargetHooks.php Implements hook_test_ab_hook().
BMissingTargetHooks::testBHook function core/modules/system/tests/modules/HookOrder/bbb_hook_order_test/src/Hook/BMissingTargetHooks.php Implements hook_test_b_hook().
BMissingTargetHooks::testBHookRemovedByXyz function core/modules/system/tests/modules/HookOrder/bbb_hook_order_test/src/Hook/BMissingTargetHooks.php Implements hook_test_b_hook().
BMissingTargetHooks::testBHookReorderedFirstByXyz function core/modules/system/tests/modules/HookOrder/bbb_hook_order_test/src/Hook/BMissingTargetHooks.php Implements hook_test_b_hook().
BMissingTargetHooks::testUnrelatedHook function core/modules/system/tests/modules/HookOrder/bbb_hook_order_test/src/Hook/BMissingTargetHooks.php Implements hook_test_unrelated_hook().
BreakpointHooks class core/modules/breakpoint/src/Hook/BreakpointHooks.php Hook implementations for breakpoint.
BreakpointHooks.php file core/modules/breakpoint/src/Hook/BreakpointHooks.php
BreakpointHooks::help function core/modules/breakpoint/src/Hook/BreakpointHooks.php Implements hook_help().
BreakpointHooks::themesInstalled function core/modules/breakpoint/src/Hook/BreakpointHooks.php Implements hook_themes_installed().
BreakpointHooks::themesUninstalled function core/modules/breakpoint/src/Hook/BreakpointHooks.php Implements hook_themes_uninstalled().
BulkDeleteTest::checkHooksInvocations function core/modules/field/tests/src/Kernel/BulkDeleteTest.php Tests that the expected hooks have been invoked on the expected entities.
CAlterHooks class core/modules/system/tests/modules/HookOrder/ccc_hook_order_test/src/Hook/CAlterHooks.php This class contains hook implementations.
CAlterHooks.php file core/modules/system/tests/modules/HookOrder/ccc_hook_order_test/src/Hook/CAlterHooks.php
CAlterHooks::testAlter function core/modules/system/tests/modules/HookOrder/ccc_hook_order_test/src/Hook/CAlterHooks.php Implements hook_test_alter().
CAlterHooks::testSubtypeAlter function core/modules/system/tests/modules/HookOrder/ccc_hook_order_test/src/Hook/CAlterHooks.php Implements hook_test_subtype_alter().
ccc_hook_order_test.info.yml file core/modules/system/tests/modules/HookOrder/ccc_hook_order_test/ccc_hook_order_test.info.yml core/modules/system/tests/modules/HookOrder/ccc_hook_order_test/ccc_hook_order_test.info.yml
ccc_hook_order_test.module file core/modules/system/tests/modules/HookOrder/ccc_hook_order_test/ccc_hook_order_test.module
ccc_hook_order_test_procedural_alter function core/modules/system/tests/modules/HookOrder/ccc_hook_order_test/ccc_hook_order_test.module Implements hook_procedural_alter().
ccc_hook_order_test_procedural_subtype_alter function core/modules/system/tests/modules/HookOrder/ccc_hook_order_test/ccc_hook_order_test.module Implements hook_procedural_subtype_alter().
ccc_hook_order_test_sparse_test_hook function core/modules/system/tests/modules/HookOrder/ccc_hook_order_test/ccc_hook_order_test.module Implements hook_sparse_test_hook().
ccc_hook_order_test_test_hook function core/modules/system/tests/modules/HookOrder/ccc_hook_order_test/ccc_hook_order_test.module Implements hook_test_hook().
ccc_hook_order_test_test_procedural_reorder function core/modules/system/tests/modules/HookOrder/ccc_hook_order_test/ccc_hook_order_test.module Implements hook_test_procedural_reorder().
CHooks class core/modules/system/tests/modules/HookOrder/ccc_hook_order_test/src/Hook/CHooks.php Provides hook implementations for testing the execution order of hooks.
CHooks.php file core/modules/system/tests/modules/HookOrder/ccc_hook_order_test/src/Hook/CHooks.php
CHooks::testBothParametersHook function core/modules/system/tests/modules/HookOrder/ccc_hook_order_test/src/Hook/CHooks.php Implements hook_test_hook().
CHooks::testHook function core/modules/system/tests/modules/HookOrder/ccc_hook_order_test/src/Hook/CHooks.php Implements hook_test_hook().
CHooks::testHookFirst function core/modules/system/tests/modules/HookOrder/ccc_hook_order_test/src/Hook/CHooks.php Implements hook_test_hook().

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