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. Search main for _alter
  6. Other projects
Title Object type File name Summary
PathPluginBase::alterRoutes function core/modules/views/src/Plugin/views/display/PathPluginBase.php Alters a collection of routes and replaces definitions to the view.
PathPluginBase::getAlteredRouteNames function core/modules/views/src/Plugin/views/display/PathPluginBase.php Returns the list of routes overridden by Views.
PathPluginBaseTest::testAlterPostRestRoute function core/modules/views/tests/src/Unit/Plugin/display/PathPluginBaseTest.php Tests the altering of a REST route.
PathPluginBaseTest::testAlterRoute function core/modules/views/tests/src/Unit/Plugin/display/PathPluginBaseTest.php Tests the alter route method.
PathPluginBaseTest::testAlterRoutesWithOptionalParameters function core/modules/views/tests/src/Unit/Plugin/display/PathPluginBaseTest.php Tests altering routes with optional parameters in the overridden route.
PathPluginBaseTest::testAlterRoutesWithParameters function core/modules/views/tests/src/Unit/Plugin/display/PathPluginBaseTest.php Tests altering routes with parameters in the overridden route.
PathPluginBaseTest::testAlterRoutesWithParametersAndUpcasting function core/modules/views/tests/src/Unit/Plugin/display/PathPluginBaseTest.php Tests altering routes with parameters and upcasting information.
PathPluginBaseTest::testAlterRouteWithAlterCallback function core/modules/views/tests/src/Unit/Plugin/display/PathPluginBaseTest.php Tests the alter route method with preexisting title callback.
PathRootsSubscriber::onRouteAlter function core/lib/Drupal/Core/EventSubscriber/PathRootsSubscriber.php Collects all path roots.
path_entity_base_field_info_alter function core/modules/path/path.module Implements hook_entity_base_field_info_alter().
path_entity_type_alter function core/modules/path/path.module Implements hook_entity_type_alter().
path_field_widget_single_element_form_alter function core/modules/path/path.module Implements hook_field_widget_single_element_form_alter().
Permission::alterRouteDefinition function core/modules/user/src/Plugin/views/access/Permission.php Allows access plugins to alter the route definition of a view.
PhpTransliterationTest::providerTestPhpTransliterationWithAlter function core/tests/Drupal/Tests/Core/Transliteration/PhpTransliterationTest.php Provides test data for testPhpTransliterationWithAlter.
PhpTransliterationTest::testPhpTransliterationWithAlter function core/tests/Drupal/Tests/Core/Transliteration/PhpTransliterationTest.php Tests the PhpTransliteration with an alter hook.
PluginAlterTest class core/tests/Drupal/KernelTests/Core/Render/Element/PluginAlterTest.php @group Render
PluginAlterTest.php file core/tests/Drupal/KernelTests/Core/Render/Element/PluginAlterTest.php
PluginAlterTest::$modules property core/tests/Drupal/KernelTests/Core/Render/Element/PluginAlterTest.php Modules to enable.
PluginAlterTest::testPluginAlter function core/tests/Drupal/KernelTests/Core/Render/Element/PluginAlterTest.php Tests hook_element_plugin_alter().
plugin_test_plugin_test_alter function core/modules/system/tests/modules/plugin_test/plugin_test.module Implements hook_plugin_test_alter().
ProfileTranslationHandler::entityFormAlter function core/modules/user/src/ProfileTranslationHandler.php Performs the needed alterations to the entity form.
QueryBase::$alterMetaData property core/lib/Drupal/Core/Entity/Query/QueryBase.php The query metadata for alter purposes.
QueryBase::$alterTags property core/lib/Drupal/Core/Entity/Query/QueryBase.php The query tags.
QueryPluginBase::alter function core/modules/views/src/Plugin/views/query/QueryPluginBase.php Let modules modify the query just prior to finalizing it.
quickedit_entity_type_alter function core/modules/quickedit/quickedit.module Implements hook_entity_type_alter().
quickedit_entity_view_alter function core/modules/quickedit/quickedit.module Implements hook_entity_view_alter().
quickedit_field_formatter_info_alter function core/modules/quickedit/quickedit.module Implements hook_field_formatter_info_alter().
quickedit_library_info_alter function core/modules/quickedit/quickedit.module Implements hook_library_info_alter().
quickedit_test_field_formatter_info_alter function core/modules/quickedit/tests/modules/quickedit_test.module Implements hook_field_formatter_info_alter().
rdf_node_build_defaults_alter function core/modules/rdf/rdf.module Implements hook_ENTITY_TYPE_build_defaults_alter().
ReferenceBase::alterFieldInstanceMigration function core/modules/migrate_drupal/src/Plugin/migrate/field/ReferenceBase.php Apply any custom processing to the field instance migration.
RegistryTest::testThemeRegistryAlterByTheme function core/tests/Drupal/KernelTests/Core/Theme/RegistryTest.php Tests that the theme registry can be altered by themes.
RenderElementHelper::alterElementInfo function core/modules/inline_form_errors/src/RenderElementHelper.php Alters the element type info.
requirements1_test_requirements_alter function core/modules/system/tests/modules/requirements1_test/requirements1_test.module Implements hook_requirements_alter().
RequirementsTest::testRequirementsAlter function core/modules/system/tests/src/Kernel/Module/RequirementsTest.php Tests requirements data altering.
responsive_image_library_info_alter function core/modules/responsive_image/responsive_image.module Implements hook_library_info_alter().
Role::alterRouteDefinition function core/modules/user/src/Plugin/views/access/Role.php Allows access plugins to alter the route definition of a view.
RoutePreloader::onAlterRoutes function core/lib/Drupal/Core/Routing/RoutePreloader.php Alters existing routes for a specific collection.
RoutePreloaderTest::testOnAlterRoutesWithAdminPathNoAdminRoute function core/tests/Drupal/Tests/Core/Routing/RoutePreloaderTest.php Tests onAlterRoutes with "admin" appearing in the path.
RoutePreloaderTest::testOnAlterRoutesWithAdminRoutes function core/tests/Drupal/Tests/Core/Routing/RoutePreloaderTest.php Tests onAlterRoutes with just admin routes.
RoutePreloaderTest::testOnAlterRoutesWithNonAdminRoutes function core/tests/Drupal/Tests/Core/Routing/RoutePreloaderTest.php Tests onAlterRoutes with admin routes and non admin routes.
RouteSubscriber::alterRoutes function core/modules/media/tests/modules/media_test_embed/src/Routing/RouteSubscriber.php Alters existing routes for a specific collection.
RouteSubscriber::alterRoutes function core/modules/config_translation/src/Routing/RouteSubscriber.php Alters existing routes for a specific collection.
RouteSubscriber::alterRoutes function core/modules/media_library/src/Routing/RouteSubscriber.php Alters existing routes for a specific collection.
RouteSubscriber::alterRoutes function core/modules/node/src/Routing/RouteSubscriber.php Alters existing routes for a specific collection.
RouteSubscriber::alterRoutes function core/modules/views/src/EventSubscriber/RouteSubscriber.php Alters existing routes for a specific collection.
RouteSubscriber::alterRoutes function core/modules/field_ui/src/Routing/RouteSubscriber.php Alters existing routes for a specific collection.
RouteSubscriberBase::alterRoutes function core/lib/Drupal/Core/Routing/RouteSubscriberBase.php Alters existing routes for a specific collection.
RouteSubscriberBase::onAlterRoutes function core/lib/Drupal/Core/Routing/RouteSubscriberBase.php Delegates the route altering to self::alterRoutes().
RouteSubscriberTest::testOnAlterRoutes function core/modules/views/tests/src/Unit/EventSubscriber/RouteSubscriberTest.php Tests the onAlterRoutes method.

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