Search for alter

  1. Search 7.x for alter
  2. Search 9.5.x for alter
  3. Search 8.9.x for alter
  4. Search 10.3.x for alter
  5. Other projects
Title Object type File name Summary
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_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_search_plugin_alter function core/modules/search/search.api.php Alter search plugin definitions.
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.
hook_update_status_alter function core/modules/update/update.api.php Alter the information about available updates for projects.
hook_user_cancel_methods_alter function core/modules/user/user.api.php Modify account cancellation methods.
hook_user_format_name_alter function core/modules/user/user.api.php Alter the username that is displayed for a user.
hook_validation_constraint_alter function core/core.api.php Alter validation constraint plugin definitions.
hook_views_data_alter function core/modules/views/views.api.php Alter the table and field information from hook_views_data().
hook_views_plugins_access_alter function core/modules/views/views.api.php Modify the list of available views access plugins.
hook_views_plugins_area_alter function core/modules/views/views.api.php Modify the list of available views area handler plugins.
hook_views_plugins_argument_alter function core/modules/views/views.api.php Modify the list of available views argument handler plugins.
hook_views_plugins_argument_default_alter function core/modules/views/views.api.php Modify the list of available views default argument plugins.
hook_views_plugins_argument_validator_alter function core/modules/views/views.api.php Modify the list of available views argument validation plugins.
hook_views_plugins_cache_alter function core/modules/views/views.api.php Modify the list of available views cache plugins.
hook_views_plugins_display_alter function core/modules/views/views.api.php Modify the list of available views display plugins.
hook_views_plugins_display_extenders_alter function core/modules/views/views.api.php Modify the list of available views display extender plugins.

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