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_editor_js_settings_alter function core/modules/editor/editor.api.php Modifies JavaScript settings that are added for text editors.
hook_editor_xss_filter_alter function core/modules/editor/editor.api.php Modifies the text editor XSS filter that will used for the given text format.
hook_element_info_alter function core/lib/Drupal/Core/Render/theme.api.php Alter the element type information returned from modules.
hook_element_plugin_alter function core/lib/Drupal/Core/Render/theme.api.php Alter Element plugin definitions.
hook_entity_base_field_info_alter function core/lib/Drupal/Core/Entity/entity.api.php Alter base field definitions for a content entity type.
hook_entity_build_defaults_alter function core/lib/Drupal/Core/Entity/entity.api.php Alter entity renderable values before cache checking in drupal_render().
hook_entity_bundle_field_info_alter function core/lib/Drupal/Core/Entity/entity.api.php Alter bundle field definitions.
hook_entity_bundle_info_alter function core/lib/Drupal/Core/Entity/entity.api.php Alter the bundles for entity types.
hook_entity_display_build_alter function core/lib/Drupal/Core/Entity/entity.api.php Alter the render array generated by an EntityDisplay for an entity.
hook_entity_extra_field_info_alter function core/lib/Drupal/Core/Entity/entity.api.php Alter "pseudo-field" components on content entities.
hook_entity_field_access_alter function core/lib/Drupal/Core/Entity/entity.api.php Alter the default access behavior for a given field.
hook_entity_field_storage_info_alter function core/lib/Drupal/Core/Entity/entity.api.php Alter field storage definitions for a content entity type.
hook_entity_form_display_alter function core/lib/Drupal/Core/Entity/entity.api.php Alter the settings used for displaying an entity form.
hook_entity_operation_alter function core/lib/Drupal/Core/Entity/entity.api.php Alter entity operations.
hook_entity_type_alter function core/lib/Drupal/Core/Entity/entity.api.php Alter the entity type definitions.
hook_ENTITY_TYPE_build_defaults_alter function core/lib/Drupal/Core/Entity/entity.api.php Alter entity renderable values before cache checking in drupal_render().
hook_ENTITY_TYPE_view_alter function core/lib/Drupal/Core/Entity/entity.api.php Alter the results of the entity build array for a particular entity type.
hook_entity_view_alter function core/lib/Drupal/Core/Entity/entity.api.php Alter the results of the entity build array.
hook_entity_view_display_alter function core/lib/Drupal/Core/Entity/entity.api.php Alter the settings used for displaying an entity.
hook_entity_view_mode_alter function core/lib/Drupal/Core/Entity/entity.api.php Change the view mode of an entity that is being displayed.
hook_entity_view_mode_info_alter function core/lib/Drupal/Core/Entity/entity.api.php Alter the view modes for entity types.
hook_field_formatter_info_alter function core/modules/field/field.api.php Perform alterations on Field API formatter types.
hook_field_formatter_settings_summary_alter function core/modules/field_ui/field_ui.api.php Alters the field formatter settings summary.
hook_field_info_alter function core/modules/field/field.api.php Perform alterations on Field API field types.
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_form_alter function core/modules/field/field.api.php Alter forms for field widgets 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_multivalue_form_alter function core/modules/field/field.api.php Alter forms for multi-value field widgets provided by other modules.
hook_field_widget_multivalue_WIDGET_TYPE_form_alter function core/modules/field/field.api.php Alter multi-value widget forms for a widget provided by another module.
hook_field_widget_settings_summary_alter function core/modules/field_ui/field_ui.api.php Alters the field widget settings summary.
hook_field_widget_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_hal_relation_uri_alter function core/modules/hal/hal.api.php Alter the HAL relation URI.
hook_hal_type_uri_alter function core/modules/hal/hal.api.php Alter the HAL type URI.
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_topics/help_topics.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 Perform necessary alterations to the 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).

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