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
PreprocessHooks::linksActionLinks function core/themes/admin/src/Hook/PreprocessHooks.php Implements hook_preprocess_HOOK() for links__action_links.
PreprocessHooks::linksDropbutton function core/themes/admin/src/Hook/PreprocessHooks.php Implements hook_preprocess_HOOK() for links__dropbutton.
PreprocessHooks::linksMediaLibraryMenu function core/themes/admin/src/Hook/PreprocessHooks.php Implements hook_preprocess_links__media_library_menu().
PreprocessHooks::maintenancePage function core/themes/admin/src/Hook/PreprocessHooks.php Implements hook_preprocess_maintenance_page().
PreprocessHooks::mediaLibraryItemSmall function core/themes/admin/src/Hook/PreprocessHooks.php Implements hook_preprocess_media_library_item__small().
PreprocessHooks::mediaLibraryItemWidget function core/themes/admin/src/Hook/PreprocessHooks.php Implements hook_preprocess_media_library_item__widget().
PreprocessHooks::menuLocalAction function core/themes/admin/src/Hook/PreprocessHooks.php Implements hook_preprocess_HOOK() for menu_local_action.
PreprocessHooks::menuLocalTask function core/themes/admin/src/Hook/PreprocessHooks.php Implements hook_preprocess_HOOK() for menu-local-task templates.
PreprocessHooks::menuLocalTasks function core/themes/admin/src/Hook/PreprocessHooks.php Implements hook_preprocess_HOOK() for menu-local-tasks templates.
PreprocessHooks::menuLocalTaskViewsUi function core/themes/admin/src/Hook/PreprocessHooks.php Implements hook_preprocess_HOOK() for menu-local-task Views UI templates.
PreprocessHooks::navigation function core/themes/admin/src/Hook/PreprocessHooks.php Implements hook_preprocess_HOOK() for navigation.
PreprocessHooks::nodeAddList function core/themes/admin/src/Hook/PreprocessHooks.php Implements hook_preprocess_HOOK() for node_add_list.
PreprocessHooks::page function core/themes/admin/src/Hook/PreprocessHooks.php Implements hook_preprocess_HOOK() for page.
PreprocessHooks::pageNodeRevisions function core/themes/admin/src/Hook/PreprocessHooks.php Implements hook_preprocess_HOOK() for page__node__revisions.
PreprocessHooks::pageTitle function core/themes/admin/src/Hook/PreprocessHooks.php Implements hook_preprocess_HOOK() for page_title.
PreprocessHooks::preprocessDescriptionToggle function core/themes/admin/src/Hook/PreprocessHooks.php Generic preprocess enabling toggle.
PreprocessHooks::select function core/themes/admin/src/Hook/PreprocessHooks.php Implements hook_preprocess_HOOK() for select.
PreprocessHooks::statusMessages function core/themes/admin/src/Hook/PreprocessHooks.php Implements hook_preprocess_HOOK() for status_messages.
PreprocessHooks::systemThemesPage function core/themes/admin/src/Hook/PreprocessHooks.php Implements hook_preprocess_HOOK() for system_themes_page.
PreprocessHooks::table function core/themes/admin/src/Hook/PreprocessHooks.php Implements hook_preprocess_HOOK() for table.
PreprocessHooks::textFormatWrapper function core/themes/admin/src/Hook/PreprocessHooks.php Implements hook_preprocess_HOOK() for text_format_wrapper.
PreprocessHooks::toolbar function core/themes/admin/src/Hook/PreprocessHooks.php Implements toolbar preprocess.
PreprocessHooks::toolbarUserPicture function core/themes/admin/src/Hook/PreprocessHooks.php Lazy builder callback for the user picture.
PreprocessHooks::topBar function core/themes/admin/src/Hook/PreprocessHooks.php Implements hook_preprocess_HOOK() for top_bar.
PreprocessHooks::trustedCallbacks function core/themes/admin/src/Hook/PreprocessHooks.php Lists the trusted callbacks provided by the implementing class.
PreprocessHooks::viewsExposedForm function core/themes/admin/src/Hook/PreprocessHooks.php Implements hook_preprocess_HOOK() for views_exposed_form.
PreprocessHooks::viewsUiDisplayTabBucket function core/themes/admin/src/Hook/PreprocessHooks.php Implements hook_preprocess_HOOK() for views_ui_display_tab_bucket.
PreprocessHooks::viewsUiRearrangeFilterForm function core/themes/admin/src/Hook/PreprocessHooks.php Implements hook_form_FORM_ID_alter() for Views UI rearrange filter form.
PreprocessHooks::viewsViewFieldsMediaLibrary function core/themes/admin/src/Hook/PreprocessHooks.php Implements hook_preprocess_views_view_fields().
PreprocessHooks::viewsViewTable function core/themes/admin/src/Hook/PreprocessHooks.php Implements hook_preprocess_HOOK() for views_view_table.
PreprocessHooks::__construct function core/themes/admin/src/Hook/PreprocessHooks.php Constructs the theme related hooks.
ProceduralHookScanStop class core/lib/Drupal/Core/Hook/Attribute/ProceduralHookScanStop.php Defines a ProceduralHookScanStop attribute object.
ProceduralHookScanStop.php file core/lib/Drupal/Core/Hook/Attribute/ProceduralHookScanStop.php
Registry::$themeHookList property core/lib/Drupal/Core/Theme/Registry.php List of all theme hooks.
Registry::hasThemeHookImplementation function core/lib/Drupal/Core/Theme/Registry.php Returns whether a theme implements a given hook.
RemoveHook.php file core/lib/Drupal/Core/Hook/Attribute/RemoveHook.php
RemoveHook::__construct function core/lib/Drupal/Core/Hook/Attribute/RemoveHook.php Constructs a RemoveHook object.
ReorderHook.php file core/lib/Drupal/Core/Hook/Attribute/ReorderHook.php
ReorderHook::__construct function core/lib/Drupal/Core/Hook/Attribute/ReorderHook.php Constructs a ReorderHook object.
Requirements1TestHooks class core/modules/system/tests/modules/requirements1_test/src/Hook/Requirements1TestHooks.php Hook implementations for requirements1_test.
Requirements1TestHooks.php file core/modules/system/tests/modules/requirements1_test/src/Hook/Requirements1TestHooks.php
Requirements1TestHooks::requirementsAlter function core/modules/system/tests/modules/requirements1_test/src/Hook/Requirements1TestHooks.php Implements hook_requirements_alter().
respond_install_uninstall_hook_test.info.yml file core/modules/system/tests/modules/respond_install_uninstall_hook_test/respond_install_uninstall_hook_test.info.yml core/modules/system/tests/modules/respond_install_uninstall_hook_test/respond_install_uninstall_hook_test.info.yml
respond_install_uninstall_hook_test_cache_flush function core/modules/system/tests/modules/hook_collector_on_behalf_procedural/hook_collector_on_behalf_procedural.module This implements a hook on behalf of another module.
ResponsiveImageHooks class core/modules/responsive_image/src/Hook/ResponsiveImageHooks.php Hook implementations for responsive_image.
ResponsiveImageHooks.php file core/modules/responsive_image/src/Hook/ResponsiveImageHooks.php
ResponsiveImageHooks::help function core/modules/responsive_image/src/Hook/ResponsiveImageHooks.php Implements hook_help().
ResponsiveImageThemeHooks class core/modules/responsive_image/src/Hook/ResponsiveImageThemeHooks.php Theme hooks for responsive_image.
ResponsiveImageThemeHooks.php file core/modules/responsive_image/src/Hook/ResponsiveImageThemeHooks.php
ResponsiveImageThemeHooks::preprocessResponsiveImage function core/modules/responsive_image/src/Hook/ResponsiveImageThemeHooks.php Prepares variables for a responsive image.

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