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_menu_local_tasks_alter function modules/system/system.api.php Alter tabs and actions displayed on the page before they are rendered.
hook_menu_site_status_alter function modules/system/system.api.php Control site status before menu dispatching.
hook_menu_update function modules/menu/menu.api.php Respond to a custom menu update.
hook_modules_disabled function modules/system/system.api.php Perform necessary actions after modules are disabled.
hook_modules_enabled function modules/system/system.api.php Perform necessary actions after modules are enabled.
hook_modules_installed function modules/system/system.api.php Perform necessary actions after modules are installed.
hook_modules_uninstalled function modules/system/system.api.php Perform necessary actions after modules are uninstalled.
hook_module_implements_alter function modules/system/system.api.php Alter the registry of modules implementing a hook.
hook_multilingual_settings_changed function modules/locale/locale.api.php Allow modules to react to language settings changes.
hook_node_access function modules/node/node.api.php Control access to a node.
hook_node_access_records function modules/node/node.api.php Set permissions for a node to be written to the database.
hook_node_access_records_alter function modules/node/node.api.php Alter permissions for a node before it is written to the database.
hook_node_delete function modules/node/node.api.php Respond to node deletion.
hook_node_grants function modules/node/node.api.php Inform the node access system what permissions the user has.
hook_node_grants_alter function modules/node/node.api.php Alter user access rules when trying to view, edit or delete a node.
hook_node_info function modules/node/node.api.php Define module-provided node types.
hook_node_insert function modules/node/node.api.php Respond to creation of a new node.
hook_node_load function modules/node/node.api.php Act on arbitrary nodes being loaded from the database.
hook_node_operations function modules/node/node.api.php Add mass node operations.
hook_node_prepare function modules/node/node.api.php Act on a node object about to be shown on the add/edit form.
hook_node_presave function modules/node/node.api.php Act on a node being inserted or updated.
hook_node_revision_delete function modules/node/node.api.php Respond to deletion of a node revision.
hook_node_search_result function modules/node/node.api.php Act on a node being displayed as a search result.
hook_node_submit function modules/node/node.api.php Act on a node after validated form values have been copied to it.
hook_node_type_delete function modules/node/node.api.php Respond to node type deletion.
hook_node_type_insert function modules/node/node.api.php Respond to node type creation.
hook_node_type_update function modules/node/node.api.php Respond to node type updates.
hook_node_update function modules/node/node.api.php Respond to updates to a node.
hook_node_update_index function modules/node/node.api.php Act on a node being indexed for searching.
hook_node_validate function modules/node/node.api.php Perform node validation before a node is created or updated.
hook_node_view function modules/node/node.api.php Act on a node that is being assembled before rendering.
hook_node_view_alter function modules/node/node.api.php Alter the results of node_view().
hook_openid function modules/openid/openid.api.php Allow modules to modify the OpenID request parameters.
hook_openid_discovery_method_info function modules/openid/openid.api.php Allow modules to declare OpenID discovery methods.
hook_openid_discovery_method_info_alter function modules/openid/openid.api.php Allow modules to alter discovery methods.
hook_openid_normalization_method_info function modules/openid/openid.api.php Allow modules to declare OpenID normalization methods.
hook_openid_normalization_method_info_alter function modules/openid/openid.api.php Allow modules to alter normalization methods.
hook_openid_response function modules/openid/openid.api.php Allow modules to act upon a successful OpenID login.
hook_options_list function modules/field/modules/options/options.api.php Returns the list of options to be displayed for a field.
hook_overlay_child_initialize function modules/overlay/overlay.api.php Allow modules to act when an overlay child window is initialized.
hook_overlay_parent_initialize function modules/overlay/overlay.api.php Allow modules to act when an overlay parent window is initialized.
hook_page_alter function modules/system/system.api.php Perform alterations before a page is rendered.
hook_page_build function modules/system/system.api.php Add elements to a page before it is rendered.
hook_page_delivery_callback_alter function modules/system/system.api.php Alters the delivery callback used to send the result of the page callback to the browser.
hook_path_delete function modules/path/path.api.php Respond to a path being deleted.
hook_path_insert function modules/path/path.api.php Respond to a path being inserted.
hook_path_update function modules/path/path.api.php Respond to a path being updated.
hook_permission function modules/system/system.api.php Define user permissions.
hook_prepare function modules/node/node.api.php Act on a node object about to be shown on the add/edit form.
hook_preprocess function modules/system/theme.api.php Preprocess theme variables for templates.

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