Search for _alter

  1. Search 7.x for _alter
  2. Search 8.9.x for _alter
  3. Search 10.3.x for _alter
  4. Search 11.x for _alter
  5. Search main for _alter
  6. Other projects
Title Object type File name Summary
AcceptHeaderRoutingTestServiceProvider::alter function core/modules/system/tests/modules/accept_header_routing_test/src/AcceptHeaderRoutingTestServiceProvider.php Modifies existing service definitions.
AccessPluginBase::alterRouteDefinition function core/modules/views/src/Plugin/views/access/AccessPluginBase.php Allows access plugins to alter the route definition of a view.
AccountForm::alterPreferredLangcodeDescription function core/modules/user/src/AccountForm.php Alters the preferred language widget description.
AdminRouteSubscriber::alterRoutes function core/modules/system/src/EventSubscriber/AdminRouteSubscriber.php Alters existing routes for a specific collection.
AdminRouteSubscriberTest::providerTestAlterRoutes function core/modules/system/tests/src/Unit/Routing/AdminRouteSubscriberTest.php
AdminRouteSubscriberTest::testAlterRoutes function core/modules/system/tests/src/Unit/Routing/AdminRouteSubscriberTest.php @covers ::alterRoutes[[api-linebreak]]
@covers ::isHtmlRoute[[api-linebreak]]
advisory_feed_test_system_info_alter function core/modules/system/tests/modules/advisory_feed_test/advisory_feed_test.module Implements hook_system_info_alter().
AggregatorPluginManagerTest::testFetcherInfoAlter function core/modules/aggregator/tests/src/Kernel/AggregatorPluginManagerTest.php Tests that the fetcher info alter hook works.
AggregatorPluginManagerTest::testParserInfoAlter function core/modules/aggregator/tests/src/Kernel/AggregatorPluginManagerTest.php Tests that the fetcher info alter hook works.
AggregatorPluginManagerTest::testProcessorInfoAlter function core/modules/aggregator/tests/src/Kernel/AggregatorPluginManagerTest.php Tests that the fetcher info alter hook works.
aggregator_display_configurable_test_entity_base_field_info_alter function core/modules/aggregator/tests/modules/aggregator_display_configurable_test/aggregator_display_configurable_test.module Implements hook_entity_base_field_info_alter().
aggregator_test_aggregator_fetcher_info_alter function core/modules/aggregator/tests/modules/aggregator_test/aggregator_test.module Implements hook_aggregator_fetcher_info_alter().
aggregator_test_aggregator_parser_info_alter function core/modules/aggregator/tests/modules/aggregator_test/aggregator_test.module Implements hook_aggregator_parser_info_alter().
aggregator_test_aggregator_processor_info_alter function core/modules/aggregator/tests/modules/aggregator_test/aggregator_test.module Implements hook_aggregator_processor_info_alter().
AjaxTestMessageCommandForm::makeMessageAlternate function core/modules/system/tests/modules/ajax_test/src/Form/AjaxTestMessageCommandForm.php Callback for testing MessageCommand using an alternate message location.
AlterTest::testAlterChangeConditional function core/tests/Drupal/KernelTests/Core/Database/AlterTest.php Tests that we can alter a query's conditionals.
AlterTest::testAlterChangeFields function core/tests/Drupal/KernelTests/Core/Database/AlterTest.php Tests that we can alter the fields of a query.
AlterTest::testAlterExpression function core/tests/Drupal/KernelTests/Core/Database/AlterTest.php Tests that we can alter expressions in the query.
AlterTest::testAlterRemoveRange function core/tests/Drupal/KernelTests/Core/Database/AlterTest.php Tests that we can remove a range() value from a query.
AlterTest::testAlterWithJoin function core/tests/Drupal/KernelTests/Core/Database/AlterTest.php Tests that we can alter the joins on a query.
AlterTest::testDrupalAlter function core/modules/system/tests/src/Functional/Common/AlterTest.php Tests if the theme has been altered.
AlterTest::testSimpleAlter function core/tests/Drupal/KernelTests/Core/Database/AlterTest.php Tests that we can do basic alters.
AlterTest::testSimpleAlterSubquery function core/tests/Drupal/KernelTests/Core/Database/AlterTest.php Tests that we can do basic alters on subqueries.
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.
bartik_form_alter function core/themes/bartik/bartik.theme Implements hook_form_alter().
bartik_theme_suggestions_form_alter function core/themes/bartik/bartik.theme Implements hook_theme_suggestions_HOOK_alter() for form templates.
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_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().
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.

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