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
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
PathHooksTest::$modules property core/modules/path_alias/tests/src/Kernel/PathHooksTest.php Modules to install.
PathHooksTest::setUp function core/modules/path_alias/tests/src/Kernel/PathHooksTest.php
PathHooksTest::testPathHooks function core/modules/path_alias/tests/src/Kernel/PathHooksTest.php Tests that the PathAlias entity clears caches correctly.
PathTestMiscHooks class core/modules/path/tests/modules/path_test_misc/src/Hook/PathTestMiscHooks.php Hook implementations for path_test_misc.
PathTestMiscHooks.php file core/modules/path/tests/modules/path_test_misc/src/Hook/PathTestMiscHooks.php
PathTestMiscHooks::nodePresave function core/modules/path/tests/modules/path_test_misc/src/Hook/PathTestMiscHooks.php Implements hook_ENTITY_TYPE_presave() for node entities.
PathTestNodeGrantsHooks class core/modules/path/tests/modules/path_test_node_grants/src/Hook/PathTestNodeGrantsHooks.php Hook implementations for path_test_node_grants.
PathTestNodeGrantsHooks.php file core/modules/path/tests/modules/path_test_node_grants/src/Hook/PathTestNodeGrantsHooks.php
PathTestNodeGrantsHooks::nodeGrants function core/modules/path/tests/modules/path_test_node_grants/src/Hook/PathTestNodeGrantsHooks.php Implements hook_node_grants().
PgsqlHooks class core/modules/pgsql/src/Hook/PgsqlHooks.php Hook implementations for pgsql.
PgsqlHooks.php file core/modules/pgsql/src/Hook/PgsqlHooks.php
PgsqlHooks::help function core/modules/pgsql/src/Hook/PgsqlHooks.php Implements hook_help().
PgsqlRequirementsHooks class core/modules/pgsql/src/Hook/PgsqlRequirementsHooks.php Hook implementations for pgsql module.
PgsqlRequirementsHooks.php file core/modules/pgsql/src/Hook/PgsqlRequirementsHooks.php
PgsqlRequirementsHooks::checkRequirements function core/modules/pgsql/src/Hook/PgsqlRequirementsHooks.php Implements hook_update_requirements().
PhpassHooks class core/modules/phpass/src/Hook/PhpassHooks.php Hook implementations for phpass.
PhpassHooks.php file core/modules/phpass/src/Hook/PhpassHooks.php

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