Functions - 7.x - drupal

Primary tabs

Title Deprecated File name Summary Direct uses Strings
help_help modules/help/help.module Implements hook_help().
help_links_as_list modules/help/help.admin.inc Provides a formatted list of available help topics. 1
help_main modules/help/help.admin.inc Menu callback; prints a page listing a glossary of Drupal terminology. 1
help_menu modules/help/help.module Implements hook_menu().
help_page modules/help/help.admin.inc Menu callback; prints a page listing general help for a module. 1
hide includes/common.inc Hides an element from later rendering. 7
hook_actions_delete modules/system/system.api.php Executes code after an action is deleted.
hook_action_info modules/system/system.api.php Declares information about actions.
hook_action_info_alter modules/system/system.api.php Alters the actions declared by another module.
hook_admin_paths modules/system/system.api.php Define administrative paths.
hook_admin_paths_alter modules/system/system.api.php Redefine administrative paths defined by other modules.
hook_aggregator_fetch modules/aggregator/aggregator.api.php Create an alternative fetcher for aggregator.module.
hook_aggregator_fetch_info modules/aggregator/aggregator.api.php Specify the title and short description of your fetcher.
hook_aggregator_parse modules/aggregator/aggregator.api.php Create an alternative parser for aggregator module.
hook_aggregator_parse_info modules/aggregator/aggregator.api.php Specify the title and short description of your parser.
hook_aggregator_process modules/aggregator/aggregator.api.php Create a processor for aggregator.module.
hook_aggregator_process_info modules/aggregator/aggregator.api.php Specify the title and short description of your processor.
hook_aggregator_remove modules/aggregator/aggregator.api.php Remove stored feed data.
hook_ajax_render_alter modules/system/system.api.php Alter the commands that are sent to the user through the Ajax framework.
hook_archiver_info modules/system/system.api.php Declare archivers to the system.
hook_archiver_info_alter modules/system/system.api.php Alter archiver information declared by other modules.
hook_batch_alter modules/system/system.api.php Alter batch information before a batch is processed.
hook_block_cid_parts_alter modules/block/block.api.php Act on block cache ID (cid) parts before the cid is generated.
hook_block_configure modules/block/block.api.php Define a configuration form for a block.
hook_block_info modules/block/block.api.php Define all blocks provided by the module.
hook_block_info_alter modules/block/block.api.php Change block definition before saving to the database.
hook_block_list_alter modules/block/block.api.php Act on blocks prior to rendering.
hook_block_save modules/block/block.api.php Save the configuration options from hook_block_configure().
hook_block_view modules/block/block.api.php Return a rendered or renderable view of a block.
hook_block_view_alter modules/block/block.api.php Perform alterations to the content of a block.
hook_block_view_MODULE_DELTA_alter modules/block/block.api.php Perform alterations to a specific block. 3
hook_boot modules/system/system.api.php Perform setup tasks for all page requests. 1
hook_comment_delete modules/comment/comment.api.php The comment is being deleted by the moderator.
hook_comment_insert modules/comment/comment.api.php The comment is being inserted.
hook_comment_load modules/comment/comment.api.php Comments are being loaded from the database.
hook_comment_presave modules/comment/comment.api.php The comment passed validation and is about to be saved.
hook_comment_publish modules/comment/comment.api.php Act on a comment that is being saved in a published state.
hook_comment_unpublish modules/comment/comment.api.php Act on a comment that is being saved in an unpublished state.
hook_comment_update modules/comment/comment.api.php The comment is being updated.
hook_comment_view modules/comment/comment.api.php The comment is being viewed. This hook can be used to add additional data to the comment before theming.
hook_comment_view_alter modules/comment/comment.api.php The comment was built; the module may modify the structured content.
hook_contextual_links_view_alter modules/contextual/contextual.api.php Alter a contextual links element before it is rendered.
hook_countries_alter modules/system/system.api.php Alter the default country list.
hook_cron modules/system/system.api.php Perform periodic actions.
hook_cron_queue_info modules/system/system.api.php Declare queues holding items that need to be run periodically.
hook_cron_queue_info_alter modules/system/system.api.php Alter cron queue information before cron runs.
hook_css_alter modules/system/system.api.php Alter CSS files before they are output on the page.
hook_custom_theme modules/system/system.api.php Return the machine-readable name of the theme to use for the current page.
hook_dashboard_regions modules/dashboard/dashboard.api.php Add regions to the dashboard.
hook_dashboard_regions_alter modules/dashboard/dashboard.api.php Alter dashboard regions provided by modules.

Other projects


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