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
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 install.
PluginAlterTest::testPluginAlter function core/tests/Drupal/KernelTests/Core/Render/Element/PluginAlterTest.php Tests hook_element_plugin_alter().
PluginTestHooks::pluginTestAlter function core/modules/system/tests/modules/plugin_test/src/Hook/PluginTestHooks.php Implements hook_plugin_test_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.
RecipeTestTrait::alterRecipe function core/tests/Drupal/FunctionalTests/Core/Recipe/RecipeTestTrait.php Alters an existing recipe.
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.
Requirements1TestHooks::requirementsAlter function core/modules/system/tests/modules/requirements1_test/src/Hook/Requirements1TestHooks.php Implements hook_requirements_alter().
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.
ResponsiveImageHooks::libraryInfoAlter function core/modules/responsive_image/src/Hook/ResponsiveImageHooks.php 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/block_content/src/Routing/RouteSubscriber.php Alters existing routes for a specific collection.
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/workspaces_ui/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.
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.
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.
SearchDateQueryAlterHooks class core/modules/search/tests/modules/search_date_query_alter/src/Hook/SearchDateQueryAlterHooks.php Hook implementations for search_date_query_alter.

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