Search for alter

  1. Search 7.x for alter
  2. Search 9.5.x for alter
  3. Search 10.3.x for alter
  4. Search 11.x for alter
  5. Other projects
Title Object type File name Summary
hook_language_fallback_candidates_alter function core/modules/language/language.api.php Allow modules to alter the language fallback candidates.
hook_language_fallback_candidates_OPERATION_alter function core/modules/language/language.api.php Allow modules to alter the fallback candidates for specific operations.
hook_language_negotiation_info_alter function core/modules/language/language.api.php Perform alterations on language negotiation methods.
hook_language_switch_links_alter function core/lib/Drupal/Core/Language/language.api.php Perform alterations on language switcher links.
hook_language_types_info_alter function core/modules/language/language.api.php Perform alterations on language types.
hook_layout_alter function core/core.api.php Allow modules to alter layout plugin definitions.
hook_library_info_alter function core/lib/Drupal/Core/Render/theme.api.php Alter libraries provided by an extension.
hook_link_alter function core/lib/Drupal/Core/Menu/menu.api.php Alter the parameters for links.
hook_locale_translation_projects_alter function core/modules/locale/locale.api.php Alter the list of projects to be updated by locale's interface translation.
hook_local_tasks_alter function core/lib/Drupal/Core/Menu/menu.api.php Alter local tasks plugins.
hook_mail_alter function core/core.api.php Alter an email message created with MailManagerInterface->mail().
hook_mail_backend_info_alter function core/core.api.php Alter the list of mail backend plugin definitions.
hook_media_source_info_alter function core/modules/media/media.api.php Alters the information provided in \Drupal\media\Annotation\MediaSource.
hook_menu_links_discovered_alter function core/lib/Drupal/Core/Menu/menu.api.php Alters all the menu links discovered by the menu link plugin manager.
hook_menu_local_actions_alter function core/lib/Drupal/Core/Menu/menu.api.php Alter local actions plugins.
hook_menu_local_tasks_alter function core/lib/Drupal/Core/Menu/menu.api.php Alter local tasks displayed on the page before they are rendered.
hook_migration_plugins_alter function core/modules/migrate/migrate.api.php Allows altering the list of discovered migration plugins.
hook_module_implements_alter function core/lib/Drupal/Core/Extension/module.api.php Alter the registry of modules implementing a hook.
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_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_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_alter function core/lib/Drupal/Core/Render/theme.api.php Alter attachments (typically assets) to a page before it is rendered.
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_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_quickedit_editor_alter function core/modules/quickedit/quickedit.api.php Allow modules to alter in-place editor plugin metadata.
hook_rest_relation_uri_alter function core/modules/rest/rest.api.php Alter the REST relation URI.
hook_rest_resource_alter function core/modules/rest/rest.api.php Alter the resource plugin definitions.
hook_rest_type_uri_alter function core/modules/rest/rest.api.php Alter the REST type URI.
hook_search_plugin_alter function core/modules/search/search.api.php Alter search plugin definitions.
hook_simpletest_alter function core/modules/simpletest/simpletest.api.php Alter the list of tests.
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, hook-independent variables for all templates.
hook_theme_registry_alter function core/lib/Drupal/Core/Render/theme.api.php Alter the theme registry information returned from hook_theme().
hook_theme_suggestions_alter function core/lib/Drupal/Core/Render/theme.api.php Alters named suggestions for all theme hooks.
hook_theme_suggestions_HOOK_alter function core/lib/Drupal/Core/Render/theme.api.php Alters named suggestions for a specific theme hook.
hook_tokens_alter function core/lib/Drupal/Core/Utility/token.api.php Alter replacement values for placeholder tokens.
hook_token_info_alter function core/lib/Drupal/Core/Utility/token.api.php Alter the metadata about available placeholder tokens and token types.
hook_toolbar_alter function core/modules/toolbar/toolbar.api.php Alter the toolbar menu after hook_toolbar() is invoked.
hook_tour_tips_alter function core/modules/tour/tour.api.php Allow modules to alter tour items before render.
hook_tour_tips_info_alter function core/modules/tour/tour.api.php Allow modules to alter tip plugin definitions.
hook_transliteration_overrides_alter function core/lib/Drupal/Core/Language/language.api.php Provide language-specific overrides for transliteration.
hook_updater_info_alter function core/lib/Drupal/Core/Extension/module.api.php Alter the Updater information array.
hook_update_projects_alter function core/modules/update/update.api.php Alter the list of projects before fetching data and comparing versions.

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