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. Other projects
Title Object type File name Summary
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().
UpdateContribTest::testHookUpdateStatusAlter function core/modules/update/tests/src/Functional/UpdateContribTest.php Checks that hook_update_status_alter() works to change a status.
UpdateServiceProvider::alter function core/lib/Drupal/Core/Update/UpdateServiceProvider.php Modifies existing service definitions.
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/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::$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 enable.
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::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 enable.
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.install file core/modules/system/tests/modules/url_alter_test/url_alter_test.install Install hooks for test module.
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
url_alter_test_install function core/modules/system/tests/modules/url_alter_test/url_alter_test.install Implements hook_install().
UserPictureTest::testUserViewAlter function core/modules/user/tests/src/Functional/UserPictureTest.php Tests user picture field with a non-standard field formatter.
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.
UserSelection::entityQueryAlter function core/modules/user/src/Plugin/EntityReferenceSelection/UserSelection.php Allows the selection to alter the SelectQuery generated by EntityFieldQuery.
user_element_info_alter function core/modules/user/user.module Implements hook_element_info_alter().
user_form_system_regional_settings_alter function core/modules/user/user.module Implements hook_form_FORM_ID_alter() for \Drupal\system\Form\RegionalForm.
user_form_test_form_user_cancel_form_alter function core/modules/user/tests/modules/user_form_test/user_form_test.module Implements hook_form_FORM_ID_alter() for user_cancel_form().
user_hooks_test_user_format_name_alter function core/modules/user/tests/modules/user_hooks_test/user_hooks_test.module Implements hook_user_format_name_alter().
user_js_settings_alter function core/modules/user/user.module Implements hook_js_settings_alter().
user_template_preprocess_default_variables_alter function core/modules/user/user.module Implements hook_template_preprocess_default_variables_alter().
user_user_view_alter function core/modules/user/user.module Implements hook_ENTITY_TYPE_view_alter() for user entities.
user_views_plugins_argument_validator_alter function core/modules/user/user.views.inc Implements hook_views_plugins_argument_validator_alter().
ViewsFormAlterTest class core/modules/views/tests/src/Functional/ViewsFormAlterTest.php Tests hook_form_BASE_FORM_ID_alter for a ViewsForm.
ViewsFormAlterTest.php file core/modules/views/tests/src/Functional/ViewsFormAlterTest.php
ViewsFormAlterTest::$defaultTheme property core/modules/views/tests/src/Functional/ViewsFormAlterTest.php The theme to install as the default for testing.
ViewsFormAlterTest::$modules property core/modules/views/tests/src/Functional/ViewsFormAlterTest.php Modules to enable.
ViewsFormAlterTest::testViewsFormAlter function core/modules/views/tests/src/Functional/ViewsFormAlterTest.php Tests hook_form_BASE_FORM_ID_alter for a ViewsForm.
ViewsHandlerManagerTest::testAlterHookInvocation function core/modules/views/tests/src/Unit/ViewsHandlerManagerTest.php Tests that hook_views_plugins_TYPE_alter() is invoked for a handler type.
ViewsLocalTask::alterLocalTasks function core/modules/views/src/Plugin/Derivative/ViewsLocalTask.php Alters base_route and parent_id into the views local tasks.
ViewsQueryAlter class core/modules/workspaces/src/ViewsQueryAlter.php Defines a class for altering views queries.
ViewsQueryAlter.php file core/modules/workspaces/src/ViewsQueryAlter.php
ViewsQueryAlter::$entityFieldManager property core/modules/workspaces/src/ViewsQueryAlter.php The entity field manager.

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