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 11.x for alter
  5. Other projects
Title Object type File name Summary
hook_field_ui_preconfigured_options_alter function core/modules/field/field.api.php Perform alterations on preconfigured field options.
hook_field_views_data_alter function core/modules/views/views.api.php Alter the Views data for a single Field API field.
hook_field_views_data_views_data_alter function core/modules/views/views.api.php Alter the Views data on a per field basis.
hook_field_widget_complete_form_alter function core/modules/field/field.api.php Alter the complete form for field widgets provided by other modules.
hook_field_widget_complete_WIDGET_TYPE_form_alter function core/modules/field/field.api.php Alter the complete form for a specific widget provided by other modules.
hook_field_widget_info_alter function core/modules/field/field.api.php Perform alterations on Field API widget types.
hook_field_widget_settings_summary_alter function core/modules/field_ui/field_ui.api.php Alters the field widget settings summary.
hook_field_widget_single_element_form_alter function core/modules/field/field.api.php Alter forms for field widgets provided by other modules.
hook_field_widget_single_element_WIDGET_TYPE_form_alter function core/modules/field/field.api.php Alter widget forms for a specific widget provided by another module.
hook_filetransfer_info_alter function core/lib/Drupal/Core/File/file.api.php Alter the FileTransfer class registry.
hook_file_mimetype_mapping_alter function core/lib/Drupal/Core/File/file.api.php Alter MIME type mappings used to determine MIME type from a file extension.
hook_file_url_alter function core/lib/Drupal/Core/File/file.api.php Alter the URL to a file.
hook_filter_info_alter function core/modules/filter/filter.api.php Perform alterations on filter definitions.
hook_filter_secure_image_alter function core/modules/filter/filter.api.php Alters images with an invalid source.
hook_form_alter function core/lib/Drupal/Core/Form/form.api.php Perform alterations before a form is rendered.
hook_form_BASE_FORM_ID_alter function core/lib/Drupal/Core/Form/form.api.php Provide a form-specific alteration for shared ('base') forms.
hook_form_FORM_ID_alter function core/lib/Drupal/Core/Form/form.api.php Provide a form-specific alteration instead of the global hook_form_alter().
hook_form_system_theme_settings_alter function core/lib/Drupal/Core/Render/theme.api.php Allow themes to alter the theme-specific settings form.
hook_help_section_info_alter function core/modules/help/help.api.php Perform alterations on help page section plugin definitions.
hook_help_topics_info_alter function core/modules/help/help.api.php Perform alterations on help topic definitions.
hook_image_effect_info_alter function core/modules/image/image.api.php Alter the information provided in \Drupal\image\Annotation\ImageEffect.
hook_install_tasks_alter function core/lib/Drupal/Core/Extension/module.api.php Alter the full list of installation tasks.
hook_js_alter function core/lib/Drupal/Core/Render/theme.api.php Alters JavaScript before it is presented on the page.
hook_js_settings_alter function core/lib/Drupal/Core/Render/theme.api.php Perform necessary alterations to the JavaScript settings (drupalSettings).
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/Utility/link.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.

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