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_block_view_alter function core/modules/block/block.api.php Alter the result of \Drupal\Core\Block\BlockBase::build().
hook_block_view_BASE_BLOCK_ID_alter function core/modules/block/block.api.php Provide a block plugin specific block_view alteration.
hook_ckeditor4to5upgrade_plugin_info_alter function core/modules/ckeditor5/ckeditor5.api.php Modify the list of available CKEditor 4 to 5 Upgrade plugins.
hook_ckeditor5_plugin_info_alter function core/modules/ckeditor5/ckeditor5.api.php Modify the list of available CKEditor 5 plugins.
hook_comment_links_alter function core/modules/comment/comment.api.php Alter the links of a comment.
hook_condition_info_alter function core/core.api.php Alter the information provided in \Drupal\Core\Condition\ConditionManager::getDefinitions().
hook_config_import_steps_alter function core/core.api.php Alter the configuration synchronization steps.
hook_config_schema_info_alter function core/core.api.php Alter config typed data definitions.
hook_config_translation_info_alter function core/modules/config_translation/config_translation.api.php Alter existing translation tabs for translation of configuration.
hook_contextual_links_alter function core/lib/Drupal/Core/Menu/menu.api.php Alter contextual links before they are rendered.
hook_contextual_links_plugins_alter function core/lib/Drupal/Core/Menu/menu.api.php Alter the plugin definition of contextual links.
hook_contextual_links_view_alter function core/modules/contextual/contextual.api.php Alter a contextual links element before it is rendered.
hook_countries_alter function core/core.api.php Alter the default country list.
hook_css_alter function core/lib/Drupal/Core/Render/theme.api.php Alter CSS files before they are output on the page.
hook_data_type_info_alter function core/core.api.php Alter available data types for typed data wrappers.
hook_display_variant_plugin_alter function core/core.api.php Alter display variant plugin definitions.
hook_editor_info_alter function core/modules/editor/editor.api.php Performs alterations on text editor definitions.
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 during rendering.
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_form_mode_alter function core/lib/Drupal/Core/Entity/entity.api.php Change the form mode used to build an entity form.
hook_entity_operation_alter function core/lib/Drupal/Core/Entity/entity.api.php Alter entity operations.
hook_entity_query_alter function core/lib/Drupal/Core/Entity/entity.api.php Alter an entity query.
hook_entity_query_ENTITY_TYPE_alter function core/lib/Drupal/Core/Entity/entity.api.php Alter an entity query for a specific entity type.
hook_entity_query_tag__ENTITY_TYPE__TAG_alter function core/lib/Drupal/Core/Entity/entity.api.php Alter an entity query for a specific entity type that has a specific tag.
hook_entity_query_tag__TAG_alter function core/lib/Drupal/Core/Entity/entity.api.php Alter an entity query that has a specific tag.
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 during rendering.
hook_ENTITY_TYPE_form_mode_alter function core/lib/Drupal/Core/Entity/entity.api.php Change the form mode of a specific entity type currently being displayed.
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_TYPE_view_mode_alter function core/lib/Drupal/Core/Entity/entity.api.php Change the view mode of a specific entity type currently being displayed.
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_info_entity_type_ui_definitions_alter function core/modules/field/field.api.php Alters the UI field definitions.
hook_field_type_category_info_alter function core/modules/field/field.api.php Allows modules to alter the field type category information.

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