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
AlwaysAltersAccessPolicy::applies function core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php Checks whether this access policy applies to a given scope.
AlwaysAltersAccessPolicy::getPersistentCacheContexts function core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php Gets the persistent cache contexts.
announcements_feed_toolbar_alter function core/modules/announcements_feed/announcements_feed.module Implements hook_toolbar_alter().
AttachedAssetsTest::testAlter function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Tests altering a JavaScript's weight via hook_js_alter().
AttachedAssetsTest::testLibraryAlter function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Adds a JavaScript library to the page and alters it.
automated_cron_form_system_cron_settings_alter function core/modules/automated_cron/automated_cron.module Implements hook_form_FORM_ID_alter() for the system_cron_settings() form.
BarAlterAccessPolicy class core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php
BarAlterAccessPolicy::alterPermissions function core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php Alter the permissions after all policies have finished building them.
BarAlterAccessPolicy::applies function core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php Checks whether this access policy applies to a given scope.
big_pipe_bypass_js_library_info_alter function core/modules/big_pipe/tests/modules/big_pipe_bypass_js/big_pipe_bypass_js.module Implements hook_library_info_alter().
BlockContentEntityReferenceSelectionTest::testQueriesNotAltered function core/modules/block_content/tests/src/Kernel/BlockContentEntityReferenceSelectionTest.php Tests to make sure queries without the expected tags are not altered.
BlockContentModerationHandler::enforceRevisionsBundleFormAlter function core/modules/content_moderation/src/Entity/Handler/BlockContentModerationHandler.php Alters bundle forms to enforce revision handling.
BlockContentModerationHandler::enforceRevisionsEntityFormAlter function core/modules/content_moderation/src/Entity/Handler/BlockContentModerationHandler.php Alters entity forms to enforce revision handling.
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_block_build_local_actions_block_alter function core/modules/block/block.module Implements hook_block_build_BASE_BLOCK_ID_alter().
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_content_theme_suggestions_block_alter function core/modules/block_content/block_content.module Implements hook_theme_suggestions_HOOK_alter() for block templates.
block_drupal_alter_foo_alter function core/modules/system/tests/modules/common_test/common_test.module Implements hook_TYPE_alter().
block_form_form_test_alter_form_alter function core/modules/system/tests/modules/form_test/form_test.module Implements hook_form_FORM_ID_alter().
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.
ckeditor4to5upgrade_plugin_test_ckeditor4to5upgrade_plugin_info_alter function core/modules/ckeditor5/tests/modules/ckeditor4to5upgrade_plugin_test/ckeditor4to5upgrade_plugin_test.module Implements hook_ckeditor4to5upgrade_plugin_info_alter().
ckeditor5_config_schema_info_alter function core/modules/ckeditor5/ckeditor5.module Implements hook_config_schema_info_alter().
ckeditor5_drupalelementstyle_test_ckeditor5_plugin_info_alter function core/modules/ckeditor5/tests/modules/ckeditor5_drupalelementstyle_test/ckeditor5_drupalelementstyle_test.module Implements hook_ckeditor4to5upgrade_plugin_info_alter().
ckeditor5_form_filter_format_form_alter function core/modules/ckeditor5/ckeditor5.module Implements hook_form_FORM_ID_alter().
ckeditor5_js_alter function core/modules/ckeditor5/ckeditor5.module Implements hook_js_alter().
ckeditor5_library_info_alter function core/modules/ckeditor5/ckeditor5.module Implements hook_library_info_alter().
ckeditor5_module_implements_alter function core/modules/ckeditor5/ckeditor5.module Implements hook_module_implements_alter().
ckeditor5_read_only_mode_form_node_page_form_alter function core/modules/ckeditor5/tests/modules/ckeditor5_read_only_mode/ckeditor5_read_only_mode.module Implements hook_form_alter().
ckeditor5_test_module_allowed_image_ckeditor5_plugin_info_alter function core/modules/ckeditor5/tests/modules/ckeditor5_test_module_allowed_image/ckeditor5_test_module_allowed_image.module Implements hook_ckeditor5_plugin_info_alter().
ckeditor_test_editor_info_alter function core/modules/ckeditor5/tests/modules/ckeditor_test/ckeditor_test.module Implements hook_editor_info_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().

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