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. 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.
UniqueFieldConstraintTestHooks::entityBaseFieldInfoAlter function core/modules/system/tests/modules/unique_field_constraint_test/src/Hook/UniqueFieldConstraintTestHooks.php Implements hook_entity_base_field_info_alter().
UniqueFieldConstraintTestHooks::queryEntityTestAccessAlter function core/modules/system/tests/modules/unique_field_constraint_test/src/Hook/UniqueFieldConstraintTestHooks.php Implements hook_query_entity_test_access_alter().
UnversionedAssetsTestHooks::libraryInfoAlter function core/modules/system/tests/modules/unversioned_assets_test/src/Hook/UnversionedAssetsTestHooks.php Implements hook_library_info_alter().
UpdateContribTest::testHookUpdateStatusAlter function core/modules/update/tests/src/Functional/UpdateContribTest.php Checks that hook_update_status_alter() works to change a status.
UpdateScriptTestHooks::systemInfoAlter function core/modules/system/tests/modules/update_script_test/src/Hook/UpdateScriptTestHooks.php Implements hook_system_info_alter().
UpdateScriptTestRequirements::updateAlter function core/modules/system/tests/modules/update_script_test/src/Hook/UpdateScriptTestRequirements.php Implements hook_update_requirements_alter().
UpdateServiceProvider::alter function core/lib/Drupal/Core/Update/UpdateServiceProvider.php Modifies existing service definitions.
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 Modules to install.
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 Allows altering the SelectQuery generated by EntityFieldQuery.
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.

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