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
BlockThemeHooks::themeSuggestionsBlock function core/modules/block/src/Hook/BlockThemeHooks.php Implements hook_theme_suggestions_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 #[Hook('test_alter')]
CAlterHooks::testSubtypeAlter function core/modules/system/tests/modules/HookOrder/ccc_hook_order_test/src/Hook/CAlterHooks.php #[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 This class contains hook implementations.
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 #[Hook('test_both_parameters_hook')]
CHooks::testHook function core/modules/system/tests/modules/HookOrder/ccc_hook_order_test/src/Hook/CHooks.php #[Hook('test_hook')]
CHooks::testHookFirst function core/modules/system/tests/modules/HookOrder/ccc_hook_order_test/src/Hook/CHooks.php #[Hook('test_hook', order: Order::First)]
CHooks::testHookRemoved function core/modules/system/tests/modules/HookOrder/ccc_hook_order_test/src/Hook/CHooks.php This implementation is removed from elsewhere.
CHooks::testHookReorderFirst function core/modules/system/tests/modules/HookOrder/ccc_hook_order_test/src/Hook/CHooks.php This implementation is reordered from elsewhere.
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().
Ckeditor5Hooks class core/modules/ckeditor5/src/Hook/Ckeditor5Hooks.php Hook implementations for ckeditor5.
Ckeditor5Hooks.php file core/modules/ckeditor5/src/Hook/Ckeditor5Hooks.php
Ckeditor5Hooks::configSchemaInfoAlter function core/modules/ckeditor5/src/Hook/Ckeditor5Hooks.php Implements hook_config_schema_info_alter().
Ckeditor5Hooks::editorPresave function core/modules/ckeditor5/src/Hook/Ckeditor5Hooks.php Implements hook_ENTITY_TYPE_presave() for editor entities.
Ckeditor5Hooks::formFilterFormatFormAlter function core/modules/ckeditor5/src/Hook/Ckeditor5Hooks.php Implements hook_form_FORM_ID_alter().
Ckeditor5Hooks::help function core/modules/ckeditor5/src/Hook/Ckeditor5Hooks.php Implements hook_help().
Ckeditor5Hooks::jsAlter function core/modules/ckeditor5/src/Hook/Ckeditor5Hooks.php Implements hook_js_alter().
Ckeditor5Hooks::libraryInfoAlter function core/modules/ckeditor5/src/Hook/Ckeditor5Hooks.php Implements hook_library_info_alter().
Ckeditor5Hooks::theme function core/modules/ckeditor5/src/Hook/Ckeditor5Hooks.php Implements hook_theme().
Ckeditor5ReadOnlyModeHooks class core/modules/ckeditor5/tests/modules/ckeditor5_read_only_mode/src/Hook/Ckeditor5ReadOnlyModeHooks.php Hook implementations for ckeditor5_read_only_mode.
Ckeditor5ReadOnlyModeHooks.php file core/modules/ckeditor5/tests/modules/ckeditor5_read_only_mode/src/Hook/Ckeditor5ReadOnlyModeHooks.php
Ckeditor5ReadOnlyModeHooks::formNodePageFormAlter function core/modules/ckeditor5/tests/modules/ckeditor5_read_only_mode/src/Hook/Ckeditor5ReadOnlyModeHooks.php Implements hook_form_FORM_ID_alter().
Ckeditor5TestModuleAllowedImageHooks class core/modules/ckeditor5/tests/modules/ckeditor5_test_module_allowed_image/src/Hook/Ckeditor5TestModuleAllowedImageHooks.php Hook implementations for ckeditor5_test_module_allowed_image.
Ckeditor5TestModuleAllowedImageHooks.php file core/modules/ckeditor5/tests/modules/ckeditor5_test_module_allowed_image/src/Hook/Ckeditor5TestModuleAllowedImageHooks.php
Ckeditor5TestModuleAllowedImageHooks::ckeditor5PluginInfoAlter function core/modules/ckeditor5/tests/modules/ckeditor5_test_module_allowed_image/src/Hook/Ckeditor5TestModuleAllowedImageHooks.php Implements hook_ckeditor5_plugin_info_alter().
CkeditorTestHooks class core/modules/ckeditor5/tests/modules/ckeditor_test/src/Hook/CkeditorTestHooks.php Hook implementations for ckeditor_test.
CkeditorTestHooks.php file core/modules/ckeditor5/tests/modules/ckeditor_test/src/Hook/CkeditorTestHooks.php
CkeditorTestHooks::editorInfoAlter function core/modules/ckeditor5/tests/modules/ckeditor_test/src/Hook/CkeditorTestHooks.php Implements hook_editor_info_alter().

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