Functions - 7.x - drupal

Primary tabs

Title Deprecated File name Summary Direct uses Strings
hook_stream_wrappers_alter modules/system/system.api.php Alters the list of PHP stream wrapper implementations.
hook_system_info_alter modules/system/system.api.php Alter the information parsed from module and theme .info files
hook_system_themes_page_alter modules/system/system.api.php Alters theme operation links.
hook_system_theme_engine_info modules/system/system.api.php Return additional theme engines provided by modules.
hook_system_theme_info modules/system/system.api.php Return additional themes provided by modules.
hook_taxonomy_term_delete modules/taxonomy/taxonomy.api.php Respond to the deletion of taxonomy terms.
hook_taxonomy_term_insert modules/taxonomy/taxonomy.api.php Act on taxonomy terms when inserted.
hook_taxonomy_term_load modules/taxonomy/taxonomy.api.php Act on taxonomy terms when loaded.
hook_taxonomy_term_presave modules/taxonomy/taxonomy.api.php Act on taxonomy terms before they are saved.
hook_taxonomy_term_update modules/taxonomy/taxonomy.api.php Act on taxonomy terms when updated.
hook_taxonomy_term_view modules/taxonomy/taxonomy.api.php Act on a taxonomy term that is being assembled before rendering.
hook_taxonomy_term_view_alter modules/taxonomy/taxonomy.api.php Alter the results of taxonomy_term_view().
hook_taxonomy_vocabulary_delete modules/taxonomy/taxonomy.api.php Respond to the deletion of taxonomy vocabularies.
hook_taxonomy_vocabulary_insert modules/taxonomy/taxonomy.api.php Act on taxonomy vocabularies when inserted.
hook_taxonomy_vocabulary_load modules/taxonomy/taxonomy.api.php Act on taxonomy vocabularies when loaded.
hook_taxonomy_vocabulary_presave modules/taxonomy/taxonomy.api.php Act on taxonomy vocabularies before they are saved.
hook_taxonomy_vocabulary_update modules/taxonomy/taxonomy.api.php Act on taxonomy vocabularies when updated.
hook_test_finished modules/simpletest/simpletest.api.php An individual test has finished.
hook_test_group_finished modules/simpletest/simpletest.api.php A test group has finished.
hook_test_group_started modules/simpletest/simpletest.api.php A test group has started.
hook_theme modules/system/system.api.php Register a module (or theme's) theme implementations.
hook_themes_disabled modules/system/theme.api.php Respond to themes being disabled.
hook_themes_enabled modules/system/theme.api.php Respond to themes being enabled.
hook_theme_registry_alter modules/system/system.api.php Alter the theme registry information returned from hook_theme().
hook_tokens modules/system/system.api.php Provide replacement values for placeholder tokens.
hook_tokens_alter modules/system/system.api.php Alter replacement values for placeholder tokens.
hook_token_info modules/system/system.api.php Provide information about available placeholder tokens and token types.
hook_token_info_alter modules/system/system.api.php Alter the metadata about available placeholder tokens and token types.
hook_translated_menu_link_alter modules/system/system.api.php Alter a menu link after it has been translated and before it is rendered.
hook_trigger_info modules/trigger/trigger.api.php Declare triggers (events) for users to assign actions to.
hook_trigger_info_alter modules/trigger/trigger.api.php Alter triggers declared by hook_trigger_info().
hook_uninstall modules/system/system.api.php Remove any information that the module sets.
hook_update modules/node/node.api.php Respond to updates to a node.
hook_updater_info modules/system/system.api.php Provide information on Updaters (classes that can update Drupal).
hook_updater_info_alter modules/system/system.api.php Alter the Updater information array.
hook_update_dependencies modules/system/system.api.php Return an array of information about module update dependencies.
hook_update_index modules/search/search.api.php Update the search index for this module.
hook_update_last_removed modules/system/system.api.php Return a number which is no longer available as hook_update_N().
hook_update_N modules/system/system.api.php Perform a single update.
hook_update_projects_alter modules/update/update.api.php Alter the list of projects before fetching data and comparing versions.
hook_update_status_alter modules/update/update.api.php Alter the information about available updates for projects.
hook_url_inbound_alter modules/system/system.api.php Alters inbound URL requests.
hook_url_outbound_alter modules/system/system.api.php Alters outbound URLs.
hook_username_alter modules/system/system.api.php Alter the username that is displayed for a user.
hook_user_cancel modules/user/user.api.php Act on user account cancellations.
hook_user_cancel_methods_alter modules/user/user.api.php Modify account cancellation methods.
hook_user_categories modules/user/user.api.php Define a list of user settings or profile information categories.
hook_user_delete modules/user/user.api.php Respond to user deletion.
hook_user_flood_control modules/user/user.api.php Respond to user flood control events.
hook_user_insert modules/user/user.api.php A user account was created.

Other projects


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