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 11.x for alter
  5. Other projects
Title Object type File name Summary
PluginAlterTest::$modules property core/tests/Drupal/KernelTests/Core/Render/Element/PluginAlterTest.php Modules to install.
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.
QueryBase::alter function core/lib/Drupal/Core/Entity/Query/QueryBase.php Invoke hooks to allow modules to alter the entity query.
QueryPluginBase::alter function core/modules/views/src/Plugin/views/query/QueryPluginBase.php Let modules modify the query just prior to finalizing it.
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.
RenderCallbacks::alterLayoutBuilder function core/modules/navigation/src/RenderCallbacks.php Pre-render callback for layout builder.
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.
ResourceTestBase::alterExpectedDocumentForRevision function core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Alters the expected JSON:API document for revisions.
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.
RouteCachingQueryAlteredTest class core/tests/Drupal/FunctionalTests/Routing/RouteCachingQueryAlteredTest.php Tests the route cache when the request's query parameters are altered.
RouteCachingQueryAlteredTest.php file core/tests/Drupal/FunctionalTests/Routing/RouteCachingQueryAlteredTest.php
RouteCachingQueryAlteredTest::$defaultTheme property core/tests/Drupal/FunctionalTests/Routing/RouteCachingQueryAlteredTest.php The theme to install as the default for testing.
RouteCachingQueryAlteredTest::$modules property core/tests/Drupal/FunctionalTests/Routing/RouteCachingQueryAlteredTest.php Modules to install.
RouteCachingQueryAlteredTest::setUp function core/tests/Drupal/FunctionalTests/Routing/RouteCachingQueryAlteredTest.php
RouteCachingQueryAlteredTest::testRouteCollectionCacheAfterException function core/tests/Drupal/FunctionalTests/Routing/RouteCachingQueryAlteredTest.php Tests route collection cache after an exception.
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/serialization/tests/modules/user_route_alter_test/src/Routing/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.
RouteSubscriber::alterRoutes function core/modules/block_content/src/Routing/RouteSubscriber.php Alters existing routes for a specific collection.
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.
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.
RouteTestSubscriber::alterRoutes function core/modules/system/tests/modules/router_test_directory/src/RouteTestSubscriber.php Alters existing routes for a specific collection.
RoutingEvents::ALTER constant core/lib/Drupal/Core/Routing/RoutingEvents.php Name of the event fired during route collection to allow changes to routes.
Schema::alterTable function core/modules/sqlite/src/Driver/Database/sqlite/Schema.php Create a table with a new schema containing the old content.
SearchDateIntervalTest::testDateIntervalQueryAlter function core/modules/search/tests/src/Functional/SearchDateIntervalTest.php Tests searching with date filters that exclude some translations.
SearchInterface::searchFormAlter function core/modules/search/src/Plugin/SearchInterface.php Alters the search form when being built for a given plugin.
SearchPluginBase::searchFormAlter function core/modules/search/src/Plugin/SearchPluginBase.php Alters the search form when being built for a given plugin.
SearchQueryAlterTest class core/modules/search/tests/src/Functional/SearchQueryAlterTest.php Tests that the node search query can be altered via the query alter hook.
SearchQueryAlterTest.php file core/modules/search/tests/src/Functional/SearchQueryAlterTest.php
SearchQueryAlterTest::$defaultTheme property core/modules/search/tests/src/Functional/SearchQueryAlterTest.php The theme to install as the default for testing.
SearchQueryAlterTest::$modules property core/modules/search/tests/src/Functional/SearchQueryAlterTest.php Modules to install.
SearchQueryAlterTest::testQueryAlter function core/modules/search/tests/src/Functional/SearchQueryAlterTest.php Tests that the query alter works.
search_date_query_alter.info.yml file core/modules/search/tests/modules/search_date_query_alter/search_date_query_alter.info.yml core/modules/search/tests/modules/search_date_query_alter/search_date_query_alter.info.yml

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