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
BlockHookOperationTest::testBlockOperationAlter function core/modules/block/tests/src/Functional/BlockHookOperationTest.php Tests the block list to see if the test_operation link is added.
BlockRenderAlterContent class core/modules/block/tests/modules/block_test/src/BlockRenderAlterContent.php Implements a trusted preRender callback.
BlockRenderAlterContent.php file core/modules/block/tests/modules/block_test/src/BlockRenderAlterContent.php
BlockRenderAlterContent::preRender function core/modules/block/tests/modules/block_test/src/BlockRenderAlterContent.php #pre_render callback for a block to alter its content.
BlockViewBuilderTest::testBlockViewBuilderBuildAlter function core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php Tests block build altering.
BlockViewBuilderTest::testBlockViewBuilderViewAlter function core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php Tests block view altering.
block_content_entity_type_alter function core/modules/block_content/block_content.module Implements hook_entity_type_alter().
block_content_query_entity_reference_alter function core/modules/block_content/block_content.module Implements hook_query_TAG_alter().
block_drupal_alter_foo_alter function core/modules/system/tests/modules/common_test/common_test.module Implements hook_TYPE_alter() on behalf of block module.
block_form_form_test_alter_form_alter function core/modules/system/tests/modules/form_test/form_test.module Implements hook_form_FORM_ID_alter() on behalf of block.module.
block_test_block_alter function core/modules/block/tests/modules/block_test/block_test.module Implements hook_block_alter().
block_test_block_build_test_cache_alter function core/modules/block/tests/modules/block_test/block_test.module Implements hook_block_build_BASE_BLOCK_ID_alter().
block_test_block_view_test_cache_alter function core/modules/block/tests/modules/block_test/block_test.module Implements hook_block_view_BASE_BLOCK_ID_alter().
book_form_node_confirm_form_alter function core/modules/book/book.module Implements hook_form_BASE_FORM_ID_alter() for \Drupal\node\Form\NodeDeleteForm.
book_form_node_form_alter function core/modules/book/book.module Implements hook_form_BASE_FORM_ID_alter() for \Drupal\node\NodeForm.
book_migration_plugins_alter function core/modules/book/book.module Implements hook_migration_plugins_alter().
book_node_links_alter function core/modules/book/book.module Implements hook_node_links_alter().
CacheableMetadataCalculationTest::alterRouteDefinition function core/modules/views/tests/modules/views_test_cacheable_metadata_calculation/src/Plugin/views/access/CacheableMetadataCalculationTest.php Allows access plugins to alter the route definition of a view.
CachePluginBase::alterCacheMetadata function core/modules/views/src/Plugin/views/cache/CachePluginBase.php Alters the cache metadata of a display upon saving a view.
ckeditor_ckeditor_css_alter function core/modules/ckeditor/ckeditor.module Implements hook_ckeditor_css_alter().
ckeditor_library_info_alter function core/modules/ckeditor/ckeditor.module Implements hook_library_info_alter().
ckeditor_test_ckeditor_css_alter function core/modules/ckeditor/tests/modules/ckeditor_test.module Implements hook_ckeditor_css_alter().
claro_element_info_alter function core/themes/claro/claro.theme Implements hook_element_info_alter().
claro_form_alter function core/themes/claro/claro.theme Implements hook_form_alter().
claro_form_media_form_alter function core/themes/claro/claro.theme Implements hook_form_BASE_FORM_ID_alter() for \Drupal\media\MediaForm.
claro_form_media_library_add_form_alter function core/themes/claro/claro.theme Implements hook_form_BASE_FORM_ID_alter().
claro_form_media_library_add_form_oembed_alter function core/themes/claro/claro.theme Implements hook_form_FORM_ID_alter().
claro_form_media_library_add_form_upload_alter function core/themes/claro/claro.theme Implements hook_form_FORM_ID_alter().
claro_form_node_form_alter function core/themes/claro/claro.theme Implements hook_form_BASE_FORM_ID_alter() for \Drupal\node\NodeForm.
claro_form_views_exposed_form_alter function core/themes/claro/claro.theme Implements hook_form_FORM_ID_alter() for views_exposed_form.
claro_theme_registry_alter function core/themes/claro/claro.theme Implements hook_theme_registry_alter().
claro_theme_suggestions_details_alter function core/themes/claro/claro.theme Implements hook_theme_suggestions_HOOK_alter() for details.
claro_theme_suggestions_form_element_alter function core/themes/claro/claro.theme Implements hook_theme_suggestions_HOOK_alter() for form_element.
claro_views_ui_display_tab_alter function core/themes/claro/claro.theme Implements hook_views_ui_display_tab_alter().
claro_views_ui_display_top_alter function core/themes/claro/claro.theme Implements hook_views_ui_display_top_alter().
classy_form_alter function core/themes/classy/classy.theme Implements hook_form_alter().
ColorLegacyTest::testColorSystemBrandingBlockAlterPreRender function core/modules/color/tests/src/Kernel/ColorLegacyTest.php Tests color_block_view_pre_render() deprecation.
ColorSystemBrandingBlockAlter class core/modules/color/src/ColorSystemBrandingBlockAlter.php Provides a trusted callback to alter the system branding block.
ColorSystemBrandingBlockAlter.php file core/modules/color/src/ColorSystemBrandingBlockAlter.php
ColorSystemBrandingBlockAlter::preRender function core/modules/color/src/ColorSystemBrandingBlockAlter.php #pre_render callback: Sets color preset logo.
color_block_view_system_branding_block_alter function core/modules/color/color.module Implements hook_block_view_BASE_BLOCK_ID_alter().
color_form_system_theme_settings_alter function core/modules/color/color.module Implements hook_form_FORM_ID_alter().
color_library_info_alter function core/modules/color/color.module Implements hook_library_info_alter().
CommentLinksAlterTest class core/modules/comment/tests/src/Functional/CommentLinksAlterTest.php Tests comment links altering.
CommentLinksAlterTest.php file core/modules/comment/tests/src/Functional/CommentLinksAlterTest.php
CommentLinksAlterTest::$defaultTheme property core/modules/comment/tests/src/Functional/CommentLinksAlterTest.php The theme to install as the default for testing.
CommentLinksAlterTest::$modules property core/modules/comment/tests/src/Functional/CommentLinksAlterTest.php Modules to install.
CommentLinksAlterTest::setUp function core/modules/comment/tests/src/Functional/CommentLinksAlterTest.php
CommentLinksAlterTest::testCommentLinksAlter function core/modules/comment/tests/src/Functional/CommentLinksAlterTest.php Tests comment links altering.
CommentSelection::entityQueryAlter function core/modules/comment/src/Plugin/EntityReferenceSelection/CommentSelection.php Allows the selection to alter the SelectQuery generated by EntityFieldQuery.

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