Search for alter

  1. Search 9.5.x for alter
  2. Search 8.9.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_block_cid_parts_alter function modules/block/block.api.php Act on block cache ID (cid) parts before the cid is generated.
hook_block_info_alter function modules/block/block.api.php Change block definition before saving to the database.
hook_block_list_alter function modules/block/block.api.php Act on blocks prior to rendering.
hook_block_view_alter function modules/block/block.api.php Perform alterations to the content of a block.
hook_block_view_MODULE_DELTA_alter function modules/block/block.api.php Perform alterations to a specific block.
hook_comment_view_alter function modules/comment/comment.api.php The comment was built; the module may modify the structured content.
hook_contextual_links_view_alter function modules/contextual/contextual.api.php Alter a contextual links element before it is rendered.
hook_countries_alter function modules/system/system.api.php Alter the default country list.
hook_cron_queue_info_alter function modules/system/system.api.php Alter cron queue information before cron runs.
hook_css_alter function modules/system/system.api.php Alter CSS files before they are output on the page.
hook_dashboard_regions_alter function modules/dashboard/dashboard.api.php Alter dashboard regions provided by modules.
hook_date_formats_alter function modules/system/system.api.php Alter date formats declared by another module.
hook_date_format_types_alter function modules/system/system.api.php Modify existing date types.
hook_drupal_goto_alter function modules/system/system.api.php Change the page the user is sent to by drupal_goto().
hook_element_info_alter function modules/system/system.api.php Alter the element type information returned from modules.
hook_entity_info_alter function modules/system/system.api.php Alter the entity info.
hook_entity_query_alter function modules/system/system.api.php Alter or execute an EntityFieldQuery.
hook_entity_view_alter function modules/system/system.api.php Alter the results of ENTITY_view().
hook_entity_view_mode_alter function modules/system/system.api.php Change the view mode of an entity that is being displayed.
hook_field_attach_prepare_translation_alter function modules/field/field.api.php Perform alterations on field_attach_prepare_translation().
hook_field_attach_preprocess_alter function modules/field/field.api.php Alter field_attach_preprocess() variables.
hook_field_attach_view_alter function modules/field/field.api.php Perform alterations on field_attach_view() or field_view_field().
hook_field_available_languages_alter function modules/field/field.api.php Alter field_available_languages() values.
hook_field_display_alter function modules/field/field.api.php Alters the display settings of a field before it gets displayed.
hook_field_display_ENTITY_TYPE_alter function modules/field/field.api.php Alters the display settings of a field on a given entity type before it gets displayed.
hook_field_extra_fields_alter function modules/field/field.api.php Alter "pseudo-field" components on fieldable entities.
hook_field_extra_fields_display_alter function modules/field/field.api.php Alters the display settings of pseudo-fields before an entity is displayed.
hook_field_formatter_info_alter function modules/field/field.api.php Perform alterations on Field API formatter types.
hook_field_info_alter function modules/field/field.api.php Perform alterations on Field API field types.
hook_field_language_alter function modules/field/field.api.php Perform alterations on field_language() values.
hook_field_storage_details_alter function modules/field/field.api.php Perform alterations on Field API storage details.
hook_field_storage_info_alter function modules/field/field.api.php Perform alterations on Field API storage types.
hook_field_widget_form_alter function modules/field/field.api.php Alter forms for field widgets provided by other modules.
hook_field_widget_info_alter function modules/field/field.api.php Perform alterations on Field API widget types.
hook_field_widget_properties_alter function modules/field/field.api.php Alters the widget properties of a field instance before it gets displayed.
hook_field_widget_properties_ENTITY_TYPE_alter function modules/field/field.api.php Alters the widget properties of a field instance on a given entity type
before it gets displayed.
hook_field_widget_WIDGET_TYPE_form_alter function modules/field/field.api.php Alter widget forms for a specific widget provided by another module.
hook_filetransfer_info_alter function modules/system/system.api.php Alter the FileTransfer class registry.
hook_file_download_access_alter function modules/file/file.api.php Alter the access rules applied to a file download.
hook_file_mimetype_mapping_alter function modules/system/system.api.php Alter MIME type mappings used to determine MIME type from a file extension.
hook_file_url_alter function modules/system/system.api.php Alter the URL to a file.
hook_filter_info_alter function modules/filter/filter.api.php Perform alterations on filter definitions.
hook_form_alter function modules/system/system.api.php Perform alterations before a form is rendered.
hook_form_BASE_FORM_ID_alter function modules/system/system.api.php Provide a form-specific alteration for shared ('base') forms.
hook_form_FORM_ID_alter function modules/system/system.api.php Provide a form-specific alteration instead of the global hook_form_alter().
hook_form_system_theme_settings_alter function modules/system/theme.api.php Allow themes to alter the theme-specific settings form.
hook_hook_info_alter function modules/system/system.api.php Alter information from hook_hook_info().
hook_html_head_alter function modules/system/system.api.php Alter XHTML HEAD tags before they are rendered by drupal_get_html_head().
hook_image_effect_info_alter function modules/image/image.api.php Alter the information provided in hook_image_effect_info().
hook_image_styles_alter function modules/image/image.api.php Modify any image styles provided by other modules or the user.

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