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
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_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().
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_form_system_modules_alter function core/modules/update/update.module Implements hook_form_FORM_ID_alter() for system_modules().
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 a 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 Test 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.
UserServiceProvider::alter function core/modules/user/src/UserServiceProvider.php Modifies existing service definitions.
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().
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.

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