Search for hook_

  1. Search 9.5.x for hook_
  2. Search 8.9.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_filter_info_alter function modules/filter/filter.api.php Perform alterations on filter definitions.
hook_flush_caches function modules/system/system.api.php Add a list of cache tables to be cleared.
hook_form function modules/node/node.api.php Display a node editing form.
hook_forms function modules/system/system.api.php Map form_ids to form builder functions.
hook_form_alter function modules/system/system.api.php Perform alterations before a form is rendered.
hook_form_BASE_FORM_ID_alter function modules/system/system.api.php Provide a form-specific alteration for shared ('base') forms.
hook_form_FORM_ID_alter function modules/system/system.api.php Provide a form-specific alteration instead of the global hook_form_alter().
hook_form_system_theme_settings_alter function modules/system/theme.api.php Allow themes to alter the theme-specific settings form.
hook_help function modules/system/system.api.php Provide online user help.
hook_hook_info function modules/system/system.api.php Defines one or more hooks that are exposed by a module.
hook_hook_info_alter function modules/system/system.api.php Alter information from hook_hook_info().
hook_html_head_alter function modules/system/system.api.php Alter XHTML HEAD tags before they are rendered by drupal_get_html_head().
hook_image_default_styles function modules/image/image.api.php Provide module-based image styles for reuse throughout Drupal.
hook_image_effect_info function modules/image/image.api.php Define information about image effects provided by a module.
hook_image_effect_info_alter function modules/image/image.api.php Alter the information provided in hook_image_effect_info().
hook_image_styles_alter function modules/image/image.api.php Modify any image styles provided by other modules or the user.
hook_image_style_delete function modules/image/image.api.php Respond to image style deletion.
hook_image_style_flush function modules/image/image.api.php Respond to image style flushing.
hook_image_style_save function modules/image/image.api.php Respond to image style updating.
hook_image_toolkits function modules/system/system.api.php Define image toolkits provided by this module.
hook_init function modules/system/system.api.php Perform setup tasks for non-cached page requests.
hook_insert function modules/node/node.api.php Respond to creation of a new node.
hook_install function modules/system/system.api.php Perform setup tasks when the module is installed.
hook_install_tasks function modules/system/system.api.php Return an array of tasks to be performed by an installation profile.
hook_install_tasks_alter function modules/system/system.api.php Alter the full list of installation tasks.
hook_js_alter function modules/system/system.api.php Perform necessary alterations to the JavaScript before it is presented on
the page.
hook_language_fallback_candidates_alter function modules/system/language.api.php Perform alterations on the language fallback candidates.
hook_language_init function modules/system/language.api.php Allows modules to act after language initialization has been performed.
hook_language_negotiation_info function modules/system/language.api.php Define language negotiation providers.
hook_language_negotiation_info_alter function modules/system/language.api.php Perform alterations on language negoiation providers.
hook_language_switch_links_alter function modules/system/language.api.php Perform alterations on language switcher links.
hook_language_types_info function modules/system/language.api.php Define language types.
hook_language_types_info_alter function modules/system/language.api.php Perform alterations on language types.
hook_library function modules/system/system.api.php Registers JavaScript/CSS libraries associated with a module.
hook_library_alter function modules/system/system.api.php Alters the JavaScript/CSS library registry.
hook_load function modules/node/node.api.php Act on nodes being loaded from the database.
hook_locale function modules/locale/locale.api.php Allows modules to define their own text groups that can be translated.
hook_mail function modules/system/system.api.php Prepare a message based on parameters; called from drupal_mail().
hook_mail_alter function modules/system/system.api.php Alter an email message created with the drupal_mail() function.
hook_menu function modules/system/system.api.php Define menu items and page callbacks.
hook_menu_alter function modules/system/system.api.php Alter the data being saved to the {menu_router} table after hook_menu is invoked.
hook_menu_breadcrumb_alter function modules/system/system.api.php Alter links in the active trail before it is rendered as the breadcrumb.
hook_menu_contextual_links_alter function modules/system/system.api.php Alter contextual links before they are rendered.
hook_menu_delete function modules/menu/menu.api.php Respond to a custom menu deletion.
hook_menu_get_item_alter function modules/system/system.api.php Alter a menu router item right after it has been retrieved from the database or cache.
hook_menu_insert function modules/menu/menu.api.php Respond to a custom menu creation.
hook_menu_link_alter function modules/system/system.api.php Alter the data being saved to the {menu_links} table by menu_link_save().
hook_menu_link_delete function modules/system/system.api.php Inform modules that a menu link has been deleted.
hook_menu_link_insert function modules/system/system.api.php Inform modules that a menu link has been created.
hook_menu_link_update function modules/system/system.api.php Inform modules that a menu link has been updated.

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