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
ToolbarThemeHooks class core/modules/toolbar/src/Hook/ToolbarThemeHooks.php Hook implementations for toolbar.
ToolbarThemeHooks.php file core/modules/toolbar/src/Hook/ToolbarThemeHooks.php
ToolbarThemeHooks::isClaroAdminAndNotActive function core/modules/toolbar/src/Hook/ToolbarThemeHooks.php Determines if Claro is the admin theme but not the active theme.
ToolbarThemeHooks::libraryInfoAlter function core/modules/toolbar/src/Hook/ToolbarThemeHooks.php Implements hook_library_info_alter().
ToolbarThemeHooks::preprocessHtml function core/modules/toolbar/src/Hook/ToolbarThemeHooks.php Implements hook_preprocess_HOOK() for HTML document templates.
ToolbarThemeHooks::preprocessToolbar function core/modules/toolbar/src/Hook/ToolbarThemeHooks.php Prepares variables for administration toolbar templates.
ToolbarThemeHooks::preprocessToolbarForClaro function core/modules/toolbar/src/Hook/ToolbarThemeHooks.php Implements hook_preprocess_toolbar().
ToolbarThemeHooks::theme function core/modules/toolbar/src/Hook/ToolbarThemeHooks.php Implements hook_theme().
ToolbarThemeHooks::themeRegistryAlter function core/modules/toolbar/src/Hook/ToolbarThemeHooks.php Implements hook_theme_registry_alter().
ToolbarThemeHooks::__construct function core/modules/toolbar/src/Hook/ToolbarThemeHooks.php
TwigDeprecationsTest::testHookThemeDeprecations function core/tests/Drupal/KernelTests/Core/Theme/TwigDeprecationsTest.php Test deprecating variables at definition in hook_theme().
TwigExtensionTestHooks class core/modules/system/tests/modules/twig_extension_test/src/Hook/TwigExtensionTestHooks.php Hook implementations for twig_extension_test.
TwigExtensionTestHooks.php file core/modules/system/tests/modules/twig_extension_test/src/Hook/TwigExtensionTestHooks.php
TwigExtensionTestHooks::theme function core/modules/system/tests/modules/twig_extension_test/src/Hook/TwigExtensionTestHooks.php Implements hook_theme().
TwigThemeTestHooks class core/modules/system/tests/modules/twig_theme_test/src/Hook/TwigThemeTestHooks.php Hook implementations for twig_theme_test.
TwigThemeTestHooks.php file core/modules/system/tests/modules/twig_theme_test/src/Hook/TwigThemeTestHooks.php
TwigThemeTestHooks::preprocessStatusMessages function core/modules/system/tests/modules/twig_theme_test/src/Hook/TwigThemeTestHooks.php Implements hook_preprocess_HOOK().
TwigThemeTestHooks::theme function core/modules/system/tests/modules/twig_theme_test/src/Hook/TwigThemeTestHooks.php Implements hook_theme().
UmamiHooks class core/profiles/demo_umami/themes/umami/src/Hook/UmamiHooks.php Hook implementations for umami.
UmamiHooks.php file core/profiles/demo_umami/themes/umami/src/Hook/UmamiHooks.php
UmamiHooks::formAlter function core/profiles/demo_umami/themes/umami/src/Hook/UmamiHooks.php Implements hook_form_alter().
UmamiHooks::formSearchBlockFormAlter function core/profiles/demo_umami/themes/umami/src/Hook/UmamiHooks.php Implements hook_form_FORM_ID_alter() for search_block_form.
UmamiHooks::preprocessBlock function core/profiles/demo_umami/themes/umami/src/Hook/UmamiHooks.php Implements hook_preprocess_HOOK() for block.
UmamiHooks::preprocessBlockBundleBannerBlock function core/profiles/demo_umami/themes/umami/src/Hook/UmamiHooks.php Implements hook_preprocess_HOOK() for block--bundle--banner-block.
UmamiHooks::preprocessBlockBundleFooterPromoBlock function core/profiles/demo_umami/themes/umami/src/Hook/UmamiHooks.php Implements hook_preprocess_HOOK() for block bundle footer promo.
UmamiHooks::preprocessBreadcrumb function core/profiles/demo_umami/themes/umami/src/Hook/UmamiHooks.php Implements hook_preprocess_HOOK() for breadcrumb.
UmamiHooks::preprocessField function core/profiles/demo_umami/themes/umami/src/Hook/UmamiHooks.php Implements hook_preprocess_HOOK() for field.
UmamiHooks::preprocessHtml function core/profiles/demo_umami/themes/umami/src/Hook/UmamiHooks.php Implements hook_preprocess_HOOK() for html.
UmamiHooks::preprocessImageWidget function core/profiles/demo_umami/themes/umami/src/Hook/UmamiHooks.php Implements hook_preprocess_HOOK() for image-widget.
UmamiHooks::preprocessLinks function core/profiles/demo_umami/themes/umami/src/Hook/UmamiHooks.php Implements hook_preprocess_HOOK() for links.
UmamiHooks::preprocessLinksMediaLibraryMenu function core/profiles/demo_umami/themes/umami/src/Hook/UmamiHooks.php Implements hook_preprocess_HOOK() for links--media-library-menu.
UmamiHooks::preprocessMenuLocalTask function core/profiles/demo_umami/themes/umami/src/Hook/UmamiHooks.php Implements hook_preprocess_HOOK() for menu-local-task.
UmamiHooks::themeSuggestionsBlockAlter function core/profiles/demo_umami/themes/umami/src/Hook/UmamiHooks.php Implements hook_theme_suggestions_HOOK_alter() for block templates.
UniqueFieldConstraintTestHooks class core/modules/system/tests/modules/unique_field_constraint_test/src/Hook/UniqueFieldConstraintTestHooks.php Hook implementations for unique_field_constraint_test.
UniqueFieldConstraintTestHooks.php file core/modules/system/tests/modules/unique_field_constraint_test/src/Hook/UniqueFieldConstraintTestHooks.php
UniqueFieldConstraintTestHooks::entityBaseFieldInfoAlter function core/modules/system/tests/modules/unique_field_constraint_test/src/Hook/UniqueFieldConstraintTestHooks.php Implements hook_entity_base_field_info_alter().
UniqueFieldConstraintTestHooks::queryEntityTestAccessAlter function core/modules/system/tests/modules/unique_field_constraint_test/src/Hook/UniqueFieldConstraintTestHooks.php Implements hook_query_entity_test_access_alter().
UnversionedAssetsTestHooks class core/modules/system/tests/modules/unversioned_assets_test/src/Hook/UnversionedAssetsTestHooks.php Hook implementations for unversioned_assets_test.
UnversionedAssetsTestHooks.php file core/modules/system/tests/modules/unversioned_assets_test/src/Hook/UnversionedAssetsTestHooks.php
UnversionedAssetsTestHooks::libraryInfoAlter function core/modules/system/tests/modules/unversioned_assets_test/src/Hook/UnversionedAssetsTestHooks.php Implements hook_library_info_alter().
update.update_hook_registry service core/core.services.yml Drupal\Core\Update\UpdateHookRegistry
UpdateContribTest::testHookUpdateStatusAlter function core/modules/update/tests/src/Functional/UpdateContribTest.php Checks that hook_update_status_alter() works to change a status.
UpdateCronHooks class core/modules/update/src/Hook/UpdateCronHooks.php Hook implementations for update.
UpdateCronHooks.php file core/modules/update/src/Hook/UpdateCronHooks.php
UpdateCronHooks::cron function core/modules/update/src/Hook/UpdateCronHooks.php Implements hook_cron().
UpdateCronHooks::notify function core/modules/update/src/Hook/UpdateCronHooks.php Performs any notifications that should be done once cron fetches new data.
UpdateCronHooks::__construct function core/modules/update/src/Hook/UpdateCronHooks.php
UpdateHookRegistry class core/lib/Drupal/Core/Update/UpdateHookRegistry.php Provides module updates versions handling.
UpdateHookRegistry.php file core/lib/Drupal/Core/Update/UpdateHookRegistry.php
UpdateHookRegistry::$allAvailableSchemaVersions property core/lib/Drupal/Core/Update/UpdateHookRegistry.php A static cache of schema currentVersions per module.

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