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
NodeTokensHooks::tokenInfo function core/modules/node/src/Hook/NodeTokensHooks.php Implements hook_token_info().
NodeTokensHooks::tokens function core/modules/node/src/Hook/NodeTokensHooks.php Implements hook_tokens().
NodeUserHooks class core/modules/node/src/Hook/NodeUserHooks.php Hook implementations for the node module.
NodeUserHooks.php file core/modules/node/src/Hook/NodeUserHooks.php
NodeUserHooks::userCancelBlockUnpublish function core/modules/node/src/Hook/NodeUserHooks.php Implements hook_user_cancel().
NodeUserHooks::userCancelReassign function core/modules/node/src/Hook/NodeUserHooks.php Implements hook_user_cancel().
NodeUserHooks::__construct function core/modules/node/src/Hook/NodeUserHooks.php NodeHooks constructor.
NodeViewsHooks class core/modules/node/src/Hook/NodeViewsHooks.php Views hook implementations for node.
NodeViewsHooks.php file core/modules/node/src/Hook/NodeViewsHooks.php
NodeViewsHooks::viewsAnalyze function core/modules/node/src/Hook/NodeViewsHooks.php Implements hook_views_analyze().
NodeViewsHooks::viewsQuerySubstitutions function core/modules/node/src/Hook/NodeViewsHooks.php Implements hook_views_query_substitutions().
OffCanvasTestHooks class core/modules/system/tests/modules/off_canvas_test/src/Hook/OffCanvasTestHooks.php Hook implementations for off_canvas_test.
OffCanvasTestHooks.php file core/modules/system/tests/modules/off_canvas_test/src/Hook/OffCanvasTestHooks.php
OffCanvasTestHooks::pageAttachments function core/modules/system/tests/modules/off_canvas_test/src/Hook/OffCanvasTestHooks.php Implements hook_page_attachments().
OliveroPagePreprocessHooks class core/themes/olivero/src/Hook/OliveroPagePreprocessHooks.php Page preprocess hooks for olivero.
OliveroPagePreprocessHooks.php file core/themes/olivero/src/Hook/OliveroPagePreprocessHooks.php
OliveroPagePreprocessHooks::preprocessHtml function core/themes/olivero/src/Hook/OliveroPagePreprocessHooks.php Implements hook_preprocess_HOOK() for HTML document templates.
OliveroPagePreprocessHooks::__construct function core/themes/olivero/src/Hook/OliveroPagePreprocessHooks.php
OliveroTestThemeHooks class core/modules/system/tests/modules/olivero_test/src/Hook/OliveroTestThemeHooks.php Hook implementations for olivero_test.
OliveroTestThemeHooks.php file core/modules/system/tests/modules/olivero_test/src/Hook/OliveroTestThemeHooks.php
OliveroTestThemeHooks::preprocessFieldMultipleValueForm function core/modules/system/tests/modules/olivero_test/src/Hook/OliveroTestThemeHooks.php Implements hook_preprocess_field_multiple_value_form().
OliveroTestThemeHooks::preprocessHtml function core/modules/system/tests/modules/olivero_test/src/Hook/OliveroTestThemeHooks.php Implements hook_preprocess_html().
OnBehalfOfOtherModuleHook.php file core/modules/system/tests/modules/hook_collector_on_behalf/src/Hook/OnBehalfOfOtherModuleHook.php
OnBehalfOfOtherModuleHook::flush function core/modules/system/tests/modules/hook_collector_on_behalf/src/Hook/OnBehalfOfOtherModuleHook.php Implements hook_module_preinstall().
oop_hook_theme.info.yml file core/modules/system/tests/themes/HookCollector/oop_hook_theme/oop_hook_theme.info.yml core/modules/system/tests/themes/HookCollector/oop_hook_theme/oop_hook_theme.info.yml
oop_hook_theme_with_module.info.yml file core/modules/system/tests/themes/HookCollector/oop_hook_theme_with_module/oop_hook_theme_with_module.info.yml core/modules/system/tests/themes/HookCollector/oop_hook_theme_with_module/oop_hook_theme_with_module.info.yml
oop_hook_theme_with_order.info.yml file core/modules/system/tests/themes/HookCollector/oop_hook_theme_with_order/oop_hook_theme_with_order.info.yml core/modules/system/tests/themes/HookCollector/oop_hook_theme_with_order/oop_hook_theme_with_order.info.yml
oop_hook_theme_with_remove.info.yml file core/modules/system/tests/themes/HookCollector/oop_hook_theme_with_remove/oop_hook_theme_with_remove.info.yml core/modules/system/tests/themes/HookCollector/oop_hook_theme_with_remove/oop_hook_theme_with_remove.info.yml
oop_hook_theme_with_reorder.info.yml file core/modules/system/tests/themes/HookCollector/oop_hook_theme_with_reorder/oop_hook_theme_with_reorder.info.yml core/modules/system/tests/themes/HookCollector/oop_hook_theme_with_reorder/oop_hook_theme_with_reorder.info.yml
OptionsHooks class core/modules/options/src/Hook/OptionsHooks.php Hook implementations for options.
OptionsHooks.php file core/modules/options/src/Hook/OptionsHooks.php
OptionsHooks::fieldStorageConfigDelete function core/modules/options/src/Hook/OptionsHooks.php Implements hook_ENTITY_TYPE_delete() for 'field_storage_config'.
OptionsHooks::fieldStorageConfigUpdate function core/modules/options/src/Hook/OptionsHooks.php Implements hook_ENTITY_TYPE_update() for 'field_storage_config'.
OptionsHooks::fieldStorageConfigUpdateForbid function core/modules/options/src/Hook/OptionsHooks.php Implements hook_field_storage_config_update_forbid().
OptionsHooks::help function core/modules/options/src/Hook/OptionsHooks.php Implements hook_help().
OptionsTestHooks class core/modules/options/tests/options_test/src/Hook/OptionsTestHooks.php Hook implementations for options_test.
OptionsTestHooks.php file core/modules/options/tests/options_test/src/Hook/OptionsTestHooks.php
OptionsTestHooks::formEntityTestEntityTestFormAlter function core/modules/options/tests/options_test/src/Hook/OptionsTestHooks.php Implements hook_form_FORM_ID_alter().
OptionsTestHooks::optionsListAlter function core/modules/options/tests/options_test/src/Hook/OptionsTestHooks.php Implements hook_options_list_alter().
OptionsViewsHooks class core/modules/options/src/Hook/OptionsViewsHooks.php Hook implementations for options.
OptionsViewsHooks.php file core/modules/options/src/Hook/OptionsViewsHooks.php
OptionsViewsHooks::fieldViewsData function core/modules/options/src/Hook/OptionsViewsHooks.php Implements hook_field_views_data().
OtherModuleInstalledHooks class core/modules/system/tests/modules/respond_install_uninstall_hook_test/src/Hook/OtherModuleInstalledHooks.php Hook implementations for respond_install_uninstall_hook_test.
OtherModuleInstalledHooks.php file core/modules/system/tests/modules/respond_install_uninstall_hook_test/src/Hook/OtherModuleInstalledHooks.php
OtherModuleInstalledHooks::modulePreinstall function core/modules/system/tests/modules/respond_install_uninstall_hook_test/src/Hook/OtherModuleInstalledHooks.php Implements hook_module_preinstall().
OtherModuleInstalledHooks::modulesInstalled function core/modules/system/tests/modules/respond_install_uninstall_hook_test/src/Hook/OtherModuleInstalledHooks.php Implements hook_modules_installed().
OtherModuleUninstalledHooks class core/modules/system/tests/modules/respond_install_uninstall_hook_test/src/Hook/OtherModuleUninstalledHooks.php Hook implementations for respond_install_uninstall_hook_test.
OtherModuleUninstalledHooks.php file core/modules/system/tests/modules/respond_install_uninstall_hook_test/src/Hook/OtherModuleUninstalledHooks.php
OtherModuleUninstalledHooks::cacheFlush function core/modules/system/tests/modules/respond_install_uninstall_hook_test/src/Hook/OtherModuleUninstalledHooks.php Implements hook_cache_flush().
OtherModuleUninstalledHooks::modulePreuninstall function core/modules/system/tests/modules/respond_install_uninstall_hook_test/src/Hook/OtherModuleUninstalledHooks.php Implements hook_module_preuninstall().

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