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
theme_test_theme_suggestions_theme_test_suggestions_alter function core/modules/system/tests/modules/theme_test/theme_test.module Implements hook_theme_suggestions_HOOK_alter().
TokenTest::testReplaceWithHookTokensAlterWithBubbleableMetadata function core/tests/Drupal/Tests/Core/Utility/TokenTest.php @covers ::replace
@covers ::replace
toolbar_disable_user_toolbar_toolbar_alter function core/modules/toolbar/tests/modules/toolbar_disable_user_toolbar/toolbar_disable_user_toolbar.module Implements hook_toolbar_alter().
tour_test_tour_tips_alter function core/modules/tour/tests/tour_test/tour_test.module Implements hook_tour_tips_alter().
tracker_views_data_alter function core/modules/tracker/tracker.views.inc Implements hook_views_data_alter().
TypedConfigManager::alterDefinitions function core/lib/Drupal/Core/Config/TypedConfigManager.php Invokes the hook to alter the definitions if the alter hook is set.
umami_form_alter function core/profiles/demo_umami/themes/umami/umami.theme Implements hook_form_alter().
umami_form_search_block_form_alter function core/profiles/demo_umami/themes/umami/umami.theme Implements hook_form_FORM_ID_alter().
umami_theme_suggestions_block_alter function core/profiles/demo_umami/themes/umami/umami.theme Implements hook_theme_suggestions_HOOK_alter() for block templates.
unique_field_constraint_test_entity_base_field_info_alter function core/modules/system/tests/modules/unique_field_constraint_test/unique_field_constraint_test.module Implements hook_entity_base_field_info_alter().
unique_field_constraint_test_query_entity_test_access_alter function core/modules/system/tests/modules/unique_field_constraint_test/unique_field_constraint_test.module Implements hook_query_entity_test_access_alter().
unversioned_assets_test_library_info_alter function core/modules/system/tests/modules/unversioned_assets_test/unversioned_assets_test.module Implements hook_library_info_build().
UpdateContribTest::testHookUpdateStatusAlter function core/modules/update/tests/src/Functional/UpdateContribTest.php Checks that hook_update_status_alter() works to change a status.
UpdateRouteSubscriber::alterRoutes function core/modules/update/src/Routing/UpdateRouteSubscriber.php Alters existing routes for a specific collection.
UpdateServiceProvider::alter function core/lib/Drupal/Core/Update/UpdateServiceProvider.php Modifies existing service definitions.
update_script_test_requirements_alter function core/modules/system/tests/modules/update_script_test/update_script_test.install Implements hook_requirements_alter().
update_script_test_system_info_alter function core/modules/system/tests/modules/update_script_test/update_script_test.module Implements hook_system_info_alter().
update_test_system_info_alter function core/modules/update/tests/modules/update_test/update_test.module Implements hook_system_info_alter().
update_test_update_status_alter function core/modules/update/tests/modules/update_test/update_test.module Implements hook_update_status_alter().
UrlAlterFunctionalTest class core/modules/forum/tests/src/Functional/UrlAlterFunctionalTest.php Tests altering the inbound path and the outbound path.
UrlAlterFunctionalTest class core/modules/path_alias/tests/src/Functional/UrlAlterFunctionalTest.php Tests altering the inbound path and the outbound path.
UrlAlterFunctionalTest.php file core/modules/path_alias/tests/src/Functional/UrlAlterFunctionalTest.php
UrlAlterFunctionalTest.php file core/modules/forum/tests/src/Functional/UrlAlterFunctionalTest.php
UrlAlterFunctionalTest::$defaultTheme property core/modules/forum/tests/src/Functional/UrlAlterFunctionalTest.php The theme to install as the default for testing.
UrlAlterFunctionalTest::$defaultTheme property core/modules/path_alias/tests/src/Functional/UrlAlterFunctionalTest.php The theme to install as the default for testing.
UrlAlterFunctionalTest::$modules property core/modules/path_alias/tests/src/Functional/UrlAlterFunctionalTest.php Modules to install.
UrlAlterFunctionalTest::$modules property core/modules/forum/tests/src/Functional/UrlAlterFunctionalTest.php Modules to enable.
UrlAlterFunctionalTest::assertUrlInboundAlter function core/modules/forum/tests/src/Functional/UrlAlterFunctionalTest.php Assert that an inbound path is altered to an expected value.
UrlAlterFunctionalTest::assertUrlInboundAlter function core/modules/path_alias/tests/src/Functional/UrlAlterFunctionalTest.php Assert that an inbound path is altered to an expected value.
UrlAlterFunctionalTest::assertUrlOutboundAlter function core/modules/path_alias/tests/src/Functional/UrlAlterFunctionalTest.php Assert that an outbound path is altered to an expected value.
UrlAlterFunctionalTest::assertUrlOutboundAlter function core/modules/forum/tests/src/Functional/UrlAlterFunctionalTest.php Assert that an outbound path is altered to an expected value.
UrlAlterFunctionalTest::testUrlAlter function core/modules/forum/tests/src/Functional/UrlAlterFunctionalTest.php Tests that URL altering works and that it occurs in the correct order.
UrlAlterFunctionalTest::testUrlAlter function core/modules/path_alias/tests/src/Functional/UrlAlterFunctionalTest.php Tests that URL altering works and that it occurs in the correct order.
UrlAlterTest class core/tests/Drupal/KernelTests/Core/Path/UrlAlterTest.php Tests the capability to alter URLs.
UrlAlterTest.php file core/tests/Drupal/KernelTests/Core/Path/UrlAlterTest.php
UrlAlterTest::$modules property core/tests/Drupal/KernelTests/Core/Path/UrlAlterTest.php Modules to install.
UrlAlterTest::testUrlWithQueryString function core/tests/Drupal/KernelTests/Core/Path/UrlAlterTest.php
UrlResolverTest::testResourceUrlAlterHook function core/modules/media/tests/src/Functional/UrlResolverTest.php Tests that hook_oembed_resource_url_alter() is invoked.
url_alter_test.info.yml file core/modules/system/tests/modules/url_alter_test/url_alter_test.info.yml core/modules/system/tests/modules/url_alter_test/url_alter_test.info.yml
url_alter_test.path_processor service core/modules/system/tests/modules/url_alter_test/url_alter_test.services.yml Drupal\url_alter_test\PathProcessorTest
url_alter_test.services.yml file core/modules/system/tests/modules/url_alter_test/url_alter_test.services.yml core/modules/system/tests/modules/url_alter_test/url_alter_test.services.yml
UserPictureTest::testUserViewAlter function core/modules/user/tests/src/Functional/UserPictureTest.php Tests user picture field with a non-standard field formatter.
UserRolesAccessPolicyTest::testAlterPermissions function core/tests/Drupal/Tests/Core/Session/UserRolesAccessPolicyTest.php Tests the alterPermissions method.
UserRouteAlterSubscriber class core/modules/serialization/src/EventSubscriber/UserRouteAlterSubscriber.php Alters user authentication routes to support additional serialization formats.
UserRouteAlterSubscriber.php file core/modules/serialization/src/EventSubscriber/UserRouteAlterSubscriber.php
UserRouteAlterSubscriber::$serializerFormats property core/modules/serialization/src/EventSubscriber/UserRouteAlterSubscriber.php The available serialization formats.
UserRouteAlterSubscriber::getSubscribedEvents function core/modules/serialization/src/EventSubscriber/UserRouteAlterSubscriber.php
UserRouteAlterSubscriber::onRoutingAlterAddFormats function core/modules/serialization/src/EventSubscriber/UserRouteAlterSubscriber.php Adds supported formats to the user authentication HTTP routes.
UserRouteAlterSubscriber::__construct function core/modules/serialization/src/EventSubscriber/UserRouteAlterSubscriber.php UserRouteAlterSubscriber constructor.
UserRouteAlterTest class core/modules/serialization/tests/src/Kernel/UserRouteAlterTest.php Tests that the user routes can be altered.

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