Search for hook_

  1. Search 7.x for hook_
  2. Search 9.5.x for hook_
  3. Search 10.3.x for hook_
  4. Search 11.x for hook_
  5. Other projects
Title Object type File name Summary
hook_token_info_alter function core/lib/Drupal/Core/Utility/token.api.php Alter the metadata about available placeholder tokens and token types.
hook_toolbar function core/modules/toolbar/toolbar.api.php Add items to the toolbar menu.
hook_toolbar_alter function core/modules/toolbar/toolbar.api.php Alter the toolbar menu after hook_toolbar() is invoked.
hook_tour_tips_alter function core/modules/tour/tour.api.php Allow modules to alter tour items before render.
hook_tour_tips_info_alter function core/modules/tour/tour.api.php Allow modules to alter tip plugin definitions.
hook_transliteration_overrides_alter function core/lib/Drupal/Core/Language/language.api.php Provide language-specific overrides for transliteration.
hook_uninstall function core/lib/Drupal/Core/Extension/module.api.php Remove any information that the module sets.
hook_updater_info function core/lib/Drupal/Core/Extension/module.api.php Provide information on Updaters (classes that can update Drupal).
hook_updater_info_alter function core/lib/Drupal/Core/Extension/module.api.php Alter the Updater information array.
hook_update_dependencies function core/lib/Drupal/Core/Extension/module.api.php Return an array of information about module update dependencies.
hook_update_last_removed function core/lib/Drupal/Core/Extension/module.api.php Return a number which is no longer available as hook_update_N().
hook_update_N function core/lib/Drupal/Core/Extension/module.api.php Perform a single update between minor versions.
hook_update_projects_alter function core/modules/update/update.api.php Alter the list of projects before fetching data and comparing versions.
hook_update_status_alter function core/modules/update/update.api.php Alter the information about available updates for projects.
hook_user_cancel function core/modules/user/user.api.php Act on user account cancellations.
hook_user_cancel_methods_alter function core/modules/user/user.api.php Modify account cancellation methods.
hook_user_format_name_alter function core/modules/user/user.api.php Alter the username that is displayed for a user.
hook_user_login function core/modules/user/user.api.php The user just logged in.
hook_user_logout function core/modules/user/user.api.php The user just logged out.
hook_validation_constraint_alter function core/core.api.php Alter validation constraint plugin definitions.
hook_verify_update_archive function core/modules/update/update.api.php Verify an archive after it has been downloaded and extracted.
hook_views_analyze function core/modules/views/views.api.php Analyze a view to provide warnings about its configuration.
hook_views_data function core/modules/views/views.api.php Describe data tables and fields (or the equivalent) to Views.
hook_views_data_alter function core/modules/views/views.api.php Alter the table and field information from hook_views_data().
hook_views_form_substitutions function core/modules/views/views.api.php Replace special strings when processing a view with form elements.
hook_views_invalidate_cache function core/modules/views/views.api.php Allow modules to respond to the invalidation of the Views cache.
hook_views_plugins_access_alter function core/modules/views/views.api.php Modify the list of available views access plugins.
hook_views_plugins_area_alter function core/modules/views/views.api.php Modify the list of available views area handler plugins.
hook_views_plugins_argument_alter function core/modules/views/views.api.php Modify the list of available views argument handler plugins.
hook_views_plugins_argument_default_alter function core/modules/views/views.api.php Modify the list of available views default argument plugins.
hook_views_plugins_argument_validator_alter function core/modules/views/views.api.php Modify the list of available views argument validation plugins.
hook_views_plugins_cache_alter function core/modules/views/views.api.php Modify the list of available views cache plugins.
hook_views_plugins_display_alter function core/modules/views/views.api.php Modify the list of available views display plugins.
hook_views_plugins_display_extenders_alter function core/modules/views/views.api.php Modify the list of available views display extender plugins.
hook_views_plugins_exposed_form_alter function core/modules/views/views.api.php Modify the list of available views exposed form plugins.
hook_views_plugins_field_alter function core/modules/views/views.api.php Modify the list of available views field handler plugins.
hook_views_plugins_filter_alter function core/modules/views/views.api.php Modify the list of available views filter handler plugins.
hook_views_plugins_join_alter function core/modules/views/views.api.php Modify the list of available views join plugins.
hook_views_plugins_pager_alter function core/modules/views/views.api.php Modify the list of available views pager plugins.
hook_views_plugins_query_alter function core/modules/views/views.api.php Modify the list of available views query plugins.
hook_views_plugins_relationship_alter function core/modules/views/views.api.php Modify the list of available views relationship handler plugins.
hook_views_plugins_row_alter function core/modules/views/views.api.php Modify the list of available views row plugins.
hook_views_plugins_sort_alter function core/modules/views/views.api.php Modify the list of available views sort handler plugins.
hook_views_plugins_style_alter function core/modules/views/views.api.php Modify the list of available views style plugins.
hook_views_plugins_wizard_alter function core/modules/views/views.api.php Modify the list of available views wizard plugins.
hook_views_post_build function core/modules/views/views.api.php Act on the view immediately after the query is built.
hook_views_post_execute function core/modules/views/views.api.php Act on the view immediately after the query has been executed.
hook_views_post_render function core/modules/views/views.api.php Post-process any rendered data.
hook_views_preview_info_alter function core/modules/views/views.api.php Alter the view preview information.
hook_views_pre_build function core/modules/views/views.api.php Act on the view before the query is built, but after displays are attached.

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