Search for route

  1. Search 7.x for route
  2. Search 9.5.x for route
  3. Search 8.9.x for route
  4. Search 10.3.x for route
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Route class core/modules/migrate/src/Plugin/migrate/process/Route.php Sets the destination route information based on the source link_path.
Route class core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Annotation/Route.php

All search results

Title Object type File name Summary
Router::$routeProvider property core/lib/Drupal/Core/Routing/Router.php The route provider responsible for the first-pass match.
Router::$urlGenerator property core/lib/Drupal/Core/Routing/Router.php The URL generator.
Router::addRouteEnhancer function core/lib/Drupal/Core/Routing/Router.php Adds a route enhancer.
Router::addRouteFilter function core/lib/Drupal/Core/Routing/Router.php Adds a route filter.
Router::applyFitOrder function core/lib/Drupal/Core/Routing/Router.php Reapplies the fit order to a RouteCollection object.
Router::applyRouteEnhancers function core/lib/Drupal/Core/Routing/Router.php Apply the route enhancers to the defaults, according to priorities.
Router::applyRouteFilters function core/lib/Drupal/Core/Routing/Router.php Applies all route filters to a given route collection.
Router::doMatchCollection function core/lib/Drupal/Core/Routing/Router.php Tries to match a URL with a set of routes.
Router::generate function core/lib/Drupal/Core/Routing/Router.php This method is intentionally not implemented.
Router::getInitialRouteCollection function core/lib/Drupal/Core/Routing/Router.php Returns a collection of potential matching routes for a request.
Router::getRouteCollection function core/lib/Drupal/Core/Routing/Router.php
Router::match function core/lib/Drupal/Core/Routing/Router.php
Router::matchCollection function core/lib/Drupal/Core/Routing/Router.php
Router::matchRequest function core/lib/Drupal/Core/Routing/Router.php
Router::__construct function core/lib/Drupal/Core/Routing/Router.php Constructs a new Router.
RouterInstallerTestHooks class core/modules/system/tests/modules/router_installer_test/src/Hook/RouterInstallerTestHooks.php Hook implementations for router_installer_test.
RouterInstallerTestHooks.php file core/modules/system/tests/modules/router_installer_test/src/Hook/RouterInstallerTestHooks.php
RouterInstallerTestHooks::modulesInstalled function core/modules/system/tests/modules/router_installer_test/src/Hook/RouterInstallerTestHooks.php Implements hook_modules_installed().
RouterPermissionTest class core/modules/system/tests/src/Functional/Routing/RouterPermissionTest.php Function Tests for the routing permission system.
RouterPermissionTest.php file core/modules/system/tests/src/Functional/Routing/RouterPermissionTest.php
RouterPermissionTest::$defaultTheme property core/modules/system/tests/src/Functional/Routing/RouterPermissionTest.php The theme to install as the default for testing.
RouterPermissionTest::$modules property core/modules/system/tests/src/Functional/Routing/RouterPermissionTest.php Modules to install.
RouterPermissionTest::testPermissionAccess function core/modules/system/tests/src/Functional/Routing/RouterPermissionTest.php Tests permission requirements on routes.
RouterTest class core/modules/system/tests/src/Functional/Routing/RouterTest.php Functional class for the full integrated routing system.
RouterTest class core/tests/Drupal/Tests/Core/Routing/RouterTest.php @coversDefaultClass \Drupal\Core\Routing\Router[[api-linebreak]]
@group Routing
RouterTest.php file core/tests/Drupal/Tests/Core/Routing/RouterTest.php
RouterTest.php file core/modules/system/tests/src/Functional/Routing/RouterTest.php
RouterTest::$defaultTheme property core/modules/system/tests/src/Functional/Routing/RouterTest.php The theme to install as the default for testing.
RouterTest::$modules property core/modules/system/tests/src/Functional/Routing/RouterTest.php Modules to install.
RouterTest::testControllerPlaceholders function core/modules/system/tests/src/Functional/Routing/RouterTest.php Confirms that placeholders in paths work correctly.
RouterTest::testControllerPlaceholdersDefaultValues function core/modules/system/tests/src/Functional/Routing/RouterTest.php Confirms that default placeholders in paths work correctly.
RouterTest::testControllerPlaceholdersDefaultValuesProvided function core/modules/system/tests/src/Functional/Routing/RouterTest.php Confirms that default placeholders in paths work correctly.
RouterTest::testControllerResolutionAjax function core/modules/system/tests/src/Functional/Routing/RouterTest.php Checks that an ajax request gets rendered as an Ajax response, by mime.
RouterTest::testControllerResolutionPage function core/modules/system/tests/src/Functional/Routing/RouterTest.php Checks that a request with text/html response gets rendered as a page.
RouterTest::testDuplicateRoutePaths function core/modules/system/tests/src/Functional/Routing/RouterTest.php Confirms that multiple routes with the same path do not cause an error.
RouterTest::testDynamicRoutes function core/modules/system/tests/src/Functional/Routing/RouterTest.php Checks that dynamically defined and altered routes work correctly.
RouterTest::testFinishResponseSubscriber function core/modules/system/tests/src/Functional/Routing/RouterTest.php Confirms that our FinishResponseSubscriber logic works properly.
RouterTest::testMatchesWithDifferentFitOrder function core/tests/Drupal/Tests/Core/Routing/RouterTest.php @covers ::applyFitOrder[[api-linebreak]]
RouterTest::testRouteAlias function core/modules/system/tests/src/Functional/Routing/RouterTest.php Tests route aliasing.
RouterTest::testRouteAliasWithDeprecation function core/modules/system/tests/src/Functional/Routing/RouterTest.php Tests route aliasing with deprecation.
RouterTest::testRouterMatching function core/modules/system/tests/src/Functional/Routing/RouterTest.php Tests that a page trying to match a path will succeed.
RouterTest::testRouterResponsePsr7 function core/modules/system/tests/src/Functional/Routing/RouterTest.php Tests that a PSR-7 response works.
RouterTest::testRouterUninstallInstall function core/modules/system/tests/src/Functional/Routing/RouterTest.php Tests that routes no longer exist for a module that has been uninstalled.
RouterTest::testSuccessiveSlashes function core/modules/system/tests/src/Functional/Routing/RouterTest.php Ensure that multiple successive slashes are redirected.
RouterTest::testUrlGeneratorFront function core/modules/system/tests/src/Functional/Routing/RouterTest.php Checks the generate method on the URL generator using the front router.
RouterTest::testUserAccount function core/modules/system/tests/src/Functional/Routing/RouterTest.php Tests the user account on the DIC.
RouterTestEarlyExceptionSubscriber class core/modules/system/tests/modules/router_test_directory/src/RouterTestEarlyExceptionSubscriber.php Event subscribers for exceptions thrown in early kernel middleware.
RouterTestEarlyExceptionSubscriber.php file core/modules/system/tests/modules/router_test_directory/src/RouterTestEarlyExceptionSubscriber.php
RouterTestEarlyExceptionSubscriber::getSubscribedEvents function core/modules/system/tests/modules/router_test_directory/src/RouterTestEarlyExceptionSubscriber.php
RouterTestEarlyExceptionSubscriber::onKernelRequest function core/modules/system/tests/modules/router_test_directory/src/RouterTestEarlyExceptionSubscriber.php Throw an exception, which will trigger exception-handling subscribers.

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