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. Search 11.x for hook_
  6. Other projects
Title Object type File name Summary
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().
CHooks::testHookRemoved function core/modules/system/tests/modules/HookOrder/ccc_hook_order_test/src/Hook/CHooks.php Implements hook_test_hook().
CHooks::testHookReorderFirst function core/modules/system/tests/modules/HookOrder/ccc_hook_order_test/src/Hook/CHooks.php Implements hook_test_hook().
CircularDependencyHooks class core/modules/system/tests/modules/HookLoader/hook_loader_test/src/Hook/CircularDependencyHooks.php Example to test that a hook service can depend on ModuleHandler.
CircularDependencyHooks.php file core/modules/system/tests/modules/HookLoader/hook_loader_test/src/Hook/CircularDependencyHooks.php
CircularDependencyHooks::testHook function core/modules/system/tests/modules/HookLoader/hook_loader_test/src/Hook/CircularDependencyHooks.php #[Hook('test_hook')]
CircularDependencyHooks::__construct function core/modules/system/tests/modules/HookLoader/hook_loader_test/src/Hook/CircularDependencyHooks.php
Ckeditor5DrupalElementStyleTestHooks class core/modules/ckeditor5/tests/modules/ckeditor5_drupalelementstyle_test/src/Hook/Ckeditor5DrupalElementStyleTestHooks.php Hook implementations for ckeditor5_drupalelementstyle_test.
Ckeditor5DrupalElementStyleTestHooks.php file core/modules/ckeditor5/tests/modules/ckeditor5_drupalelementstyle_test/src/Hook/Ckeditor5DrupalElementStyleTestHooks.php
Ckeditor5DrupalElementStyleTestHooks::ckeditor5PluginInfoAlter function core/modules/ckeditor5/tests/modules/ckeditor5_drupalelementstyle_test/src/Hook/Ckeditor5DrupalElementStyleTestHooks.php Implements hook_ckeditor5_plugin_info_alter().

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