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 main for hook_
  6. Other projects
Title Object type File name Summary
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().
OtherModuleUninstalledHooks::modulesUninstall function core/modules/system/tests/modules/respond_install_uninstall_hook_test/src/Hook/OtherModuleUninstalledHooks.php Implements hook_modules_uninstalled().
PackageManagerHooks class core/modules/package_manager/src/Hook/PackageManagerHooks.php Hook implementations for package_manager.
PackageManagerHooks.php file core/modules/package_manager/src/Hook/PackageManagerHooks.php
PackageManagerHooks::help function core/modules/package_manager/src/Hook/PackageManagerHooks.php Implements hook_help().
PackageManagerRequirementsHooks class core/modules/package_manager/src/Hook/PackageManagerRequirementsHooks.php Requirements checks for Package Manager.
PackageManagerRequirementsHooks.php file core/modules/package_manager/src/Hook/PackageManagerRequirementsHooks.php
PackageManagerRequirementsHooks::checkFailure function core/modules/package_manager/src/Hook/PackageManagerRequirementsHooks.php Check for a failed update.
PackageManagerRequirementsHooks::checkSettings function core/modules/package_manager/src/Hook/PackageManagerRequirementsHooks.php Check that package manager has an explicit setting to allow installation.
PackageManagerRequirementsHooks::runtime function core/modules/package_manager/src/Hook/PackageManagerRequirementsHooks.php Implements hook_runtime_requirements().
PackageManagerRequirementsHooks::update function core/modules/package_manager/src/Hook/PackageManagerRequirementsHooks.php Implements hook_update_requirements().
PackageManagerRequirementsHooks::__construct function core/modules/package_manager/src/Hook/PackageManagerRequirementsHooks.php
PageAttachmentsHook.php file core/modules/system/src/Hook/PageAttachmentsHook.php
PageAttachmentsHook::pageAttachments function core/modules/system/src/Hook/PageAttachmentsHook.php Implements hook_page_attachments().
PageAttachmentsHook::__construct function core/modules/system/src/Hook/PageAttachmentsHook.php
PageCacheHooks class core/modules/page_cache/src/Hook/PageCacheHooks.php Hook implementations for page_cache.
PageCacheHooks.php file core/modules/page_cache/src/Hook/PageCacheHooks.php
PageCacheHooks::help function core/modules/page_cache/src/Hook/PageCacheHooks.php Implements hook_help().
PageRenderTest::assertPageRenderHookExceptions function core/modules/system/tests/src/Kernel/Common/PageRenderTest.php Asserts whether expected exceptions are thrown for invalid hook implementations.
PageRenderTest::testHookPageAlter function core/modules/system/tests/src/Kernel/Common/PageRenderTest.php Tests hook_page_attachments_alter() exceptions.
PageRenderTest::testHookPageAttachmentsExceptions function core/modules/system/tests/src/Kernel/Common/PageRenderTest.php Tests hook_page_attachments() exceptions.
PagerTestThemeHooks class core/modules/system/tests/modules/pager_test/src/Hook/PagerTestThemeHooks.php Hook implementations for pager_test.
PagerTestThemeHooks.php file core/modules/system/tests/modules/pager_test/src/Hook/PagerTestThemeHooks.php
PagerTestThemeHooks::preprocessPager function core/modules/system/tests/modules/pager_test/src/Hook/PagerTestThemeHooks.php Implements hook_preprocess_HOOK().
PathHooks class core/modules/path/src/Hook/PathHooks.php Hook implementations for path.
PathHooks.php file core/modules/path/src/Hook/PathHooks.php
PathHooks::entityBaseFieldInfo function core/modules/path/src/Hook/PathHooks.php Implements hook_entity_base_field_info().
PathHooks::entityBaseFieldInfoAlter function core/modules/path/src/Hook/PathHooks.php Implements hook_entity_base_field_info_alter().
PathHooks::entityTranslationCreate function core/modules/path/src/Hook/PathHooks.php Implements hook_entity_translation_create().
PathHooks::entityTypeAlter function core/modules/path/src/Hook/PathHooks.php Implements hook_entity_type_alter().
PathHooks::fieldWidgetSingleElementFormAlter function core/modules/path/src/Hook/PathHooks.php Implements hook_field_widget_single_element_form_alter().
PathHooks::help function core/modules/path/src/Hook/PathHooks.php Implements hook_help().
PathHooksTest class core/modules/path_alias/tests/src/Kernel/PathHooksTest.php Tests Drupal\path_alias\Entity\PathAlias.
PathHooksTest.php file core/modules/path_alias/tests/src/Kernel/PathHooksTest.php

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