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 10.3.x for alter
  5. Search main for alter
  6. Other projects
Title Object type File name Summary
UpdateServiceProvider::alter function core/lib/Drupal/Core/Update/UpdateServiceProvider.php
UpdateTestHooks::systemInfoAlter function core/modules/update/tests/modules/update_test/src/Hook/UpdateTestHooks.php Implements hook_system_info_alter().
UpdateTestHooks::updateStatusAlter function core/modules/update/tests/modules/update_test/src/Hook/UpdateTestHooks.php 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 install.
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
UrlAlterTest::testUrlWithQueryString function core/tests/Drupal/KernelTests/Core/Path/UrlAlterTest.php Tests altering outbound query string.
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
UserFormTestHooks::entityBaseFieldInfoAlter function core/modules/user/tests/modules/user_form_test/src/Hook/UserFormTestHooks.php Implements hook_entity_base_field_info_alter().
UserFormTestHooks::formUserCancelFormAlter function core/modules/user/tests/modules/user_form_test/src/Hook/UserFormTestHooks.php Implements hook_form_FORM_ID_alter() for user_cancel_form().
UserHooks::elementInfoAlter function core/modules/user/src/Hook/UserHooks.php Implements hook_element_info_alter().
UserHooks::formSystemRegionalSettingsAlter function core/modules/user/src/Hook/UserHooks.php Implements hook_form_FORM_ID_alter() for \Drupal\system\Form\RegionalForm.
UserHooks::jsSettingsAlter function core/modules/user/src/Hook/UserHooks.php Implements hook_js_settings_alter().
UserHooks::templatePreprocessDefaultVariablesAlter function core/modules/user/src/Hook/UserHooks.php Implements hook_template_preprocess_default_variables_alter().
UserHooks::userViewAlter function core/modules/user/src/Hook/UserHooks.php Implements hook_ENTITY_TYPE_view_alter() for user entities.
UserHooksTest::userFormatNameAlter function core/modules/user/tests/modules/user_hooks_test/src/Hook/UserHooksTest.php Alters the username.
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 added 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.
UserRouteAlterTest.php file core/modules/serialization/tests/src/Kernel/UserRouteAlterTest.php
UserRouteAlterTest::$modules property core/modules/serialization/tests/src/Kernel/UserRouteAlterTest.php Modules to install.
UserRouteAlterTest::testUserAlteredRoute function core/modules/serialization/tests/src/Kernel/UserRouteAlterTest.php Tests the altered 'user.login.http' route.
UserSelection::entityQueryAlter function core/modules/user/src/Plugin/EntityReferenceSelection/UserSelection.php
UserViewsHooks::viewsPluginsArgumentValidatorAlter function core/modules/user/src/Hook/UserViewsHooks.php Implements hook_views_plugins_argument_validator_alter().
user_route_alter_test.info.yml file core/modules/serialization/tests/modules/user_route_alter_test/user_route_alter_test.info.yml core/modules/serialization/tests/modules/user_route_alter_test/user_route_alter_test.info.yml
user_route_alter_test.services.yml file core/modules/serialization/tests/modules/user_route_alter_test/user_route_alter_test.services.yml core/modules/serialization/tests/modules/user_route_alter_test/user_route_alter_test.services.yml
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 install.
ViewsFormAlterTest::testViewsFormAlter function core/modules/views/tests/src/Functional/ViewsFormAlterTest.php Tests hook_form_BASE_FORM_ID_alter for a ViewsForm.
ViewsFormTestHooks::formViewsFormMediaMediaPageListAlter function core/modules/views/tests/modules/views_form_test/src/Hook/ViewsFormTestHooks.php Implements hook_form_BASE_FORM_ID_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.
ViewsHooks::formViewsExposedFormAlter function core/modules/views/src/Hook/ViewsHooks.php Implements hook_form_FORM_ID_alter() for the exposed form.

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