Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 8.9.x for all
  4. Search 10.3.x for all
  5. Search 11.x for all
  6. Other projects
Title Object type File name Summary
hook_migrate_prepare_row function core/modules/migrate/migrate.api.php Allows adding data to a row before processing it.
hook_migration_plugins_alter function core/modules/migrate/migrate.api.php Allows altering the list of discovered migration plugins.
hook_modules_installed function core/lib/Drupal/Core/Extension/module.api.php Perform necessary actions after modules are installed.
hook_modules_uninstalled function core/lib/Drupal/Core/Extension/module.api.php Perform necessary actions after modules are uninstalled.
hook_module_preinstall function core/lib/Drupal/Core/Extension/module.api.php Perform necessary actions before a module is installed.
hook_module_preuninstall function core/lib/Drupal/Core/Extension/module.api.php Perform necessary actions before a module is uninstalled.
hook_navigation_content_top function core/modules/navigation/navigation.api.php Provide content for Navigation content_top section.
hook_navigation_content_top_alter function core/modules/navigation/navigation.api.php Alter replacement values for placeholder tokens.
hook_navigation_defaults function core/modules/navigation/navigation.api.php Provides default content for the Navigation bar.
hook_navigation_menu_link_tree_alter function core/modules/navigation/navigation.api.php Alter the content of a given Navigation menu link tree.
hook_node_access_records function core/modules/node/node.api.php Set permissions for a node to be written to the database.
hook_node_access_records_alter function core/modules/node/node.api.php Alter permissions for a node before it is written to the database.
hook_node_grants function core/modules/node/node.api.php Inform the node access system what permissions the user has.
hook_node_grants_alter function core/modules/node/node.api.php Alter user access rules when trying to view, edit or delete a node.
hook_node_links_alter function core/modules/node/node.api.php Alter the links of a node.
hook_node_search_ranking function core/modules/node/node.api.php Provide additional methods of scoring for core search results for nodes.
hook_node_search_result function core/modules/node/node.api.php Act on a node being displayed as a search result.
hook_node_update_index function core/modules/node/node.api.php Act on a node being indexed for searching.
hook_oembed_resource_url_alter function core/modules/media/media.api.php Alters an oEmbed resource URL before it is fetched.
hook_options_list_alter function core/modules/options/options.api.php Alters the list of options to be displayed for a field.
hook_page_attachments function core/lib/Drupal/Core/Render/theme.api.php Add attachments (typically assets) to a page before it is rendered.
hook_page_attachments_alter function core/lib/Drupal/Core/Render/theme.api.php Alter attachments (typically assets) to a page before it is rendered.
hook_page_bottom function core/lib/Drupal/Core/Render/theme.api.php Add a renderable array to the bottom of the page.
hook_page_top function core/lib/Drupal/Core/Render/theme.api.php Add a renderable array to the top of the page.
hook_plugin_filter_TYPE_alter function core/lib/Drupal/Core/Plugin/plugin.api.php Alter the filtering of plugin definitions for a specific plugin type.
hook_plugin_filter_TYPE__CONSUMER_alter function core/lib/Drupal/Core/Plugin/plugin.api.php Alter the filtering of plugin definitions for a specific type and consumer.
hook_post_update_NAME function core/lib/Drupal/Core/Extension/module.api.php Executes an update which is intended to update data, like entities.
hook_preprocess function core/lib/Drupal/Core/Render/theme.api.php Preprocess theme variables for templates.
hook_preprocess_HOOK function core/lib/Drupal/Core/Render/theme.api.php Preprocess theme variables for a specific theme hook.
hook_query_alter function core/lib/Drupal/Core/Database/database.api.php Perform alterations to a structured query.
hook_query_TAG_alter function core/lib/Drupal/Core/Database/database.api.php Perform alterations to a structured query for a given tag.
hook_queue_info_alter function core/core.api.php Alter cron queue information before cron runs.
hook_rebuild function core/core.api.php Rebuild data based upon refreshed caches.
hook_removed_post_updates function core/lib/Drupal/Core/Extension/module.api.php Return an array of removed hook_post_update_NAME() function names.
hook_render_template function core/lib/Drupal/Core/Render/theme.api.php Render a template using the theme engine.
hook_requirements function core/lib/Drupal/Core/Extension/module.api.php Check installation requirements and do status reporting.
hook_requirements_alter function core/lib/Drupal/Core/Extension/module.api.php Alters requirements data.
hook_rest_resource_alter function core/modules/rest/rest.api.php Alter the resource plugin definitions.
hook_runtime_requirements function core/lib/Drupal/Core/Extension/module.api.php Check runtime requirements and do status reporting.
hook_runtime_requirements_alter function core/lib/Drupal/Core/Extension/module.api.php Alters runtime requirements data.
hook_schema function core/lib/Drupal/Core/Database/database.api.php Define the current version of the database schema.
hook_search_plugin_alter function core/modules/search/search.api.php Alter search plugin definitions.
hook_search_preprocess function core/modules/search/search.api.php Preprocess text for search.
hook_shortcut_default_set function core/modules/shortcut/shortcut.api.php Return the name of a default shortcut set for the provided user account.
hook_system_breadcrumb_alter function core/lib/Drupal/Core/Menu/menu.api.php Perform alterations to the breadcrumb built by the BreadcrumbManager.
hook_system_info_alter function core/lib/Drupal/Core/Extension/module.api.php Alter the information parsed from module and theme .info.yml files.
hook_system_themes_page_alter function core/modules/system/system.api.php Alters theme operation links.
hook_template_preprocess_default_variables_alter function core/lib/Drupal/Core/Render/theme.api.php Alter the default variables for all templates.
hook_test_remove.info.yml file core/modules/system/tests/modules/hook_test_remove/hook_test_remove.info.yml core/modules/system/tests/modules/hook_test_remove/hook_test_remove.info.yml
hook_theme function core/lib/Drupal/Core/Render/theme.api.php Register a module or theme's theme implementations.

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