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. Search main for route
  6. 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::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().
RouterListener class core/lib/Drupal/Core/Http/EventListener/RouterListener.php Sets request attributes based on a matching route.
RouterListener.php file core/lib/Drupal/Core/Http/EventListener/RouterListener.php
RouterListener::getSubscribedEvents function core/lib/Drupal/Core/Http/EventListener/RouterListener.php
RouterListener::onKernelFinishRequest function core/lib/Drupal/Core/Http/EventListener/RouterListener.php Resets the routing context after a sub-request is done.
RouterListener::onKernelRequest function core/lib/Drupal/Core/Http/EventListener/RouterListener.php Sets request attributes based on a matching route.
RouterListener::setCurrentRequest function core/lib/Drupal/Core/Http/EventListener/RouterListener.php Sets the request on the request context.
RouterListener::__construct function core/lib/Drupal/Core/Http/EventListener/RouterListener.php
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 Tests Drupal\Core\Routing\Router.
RouterTest class core/tests/Drupal/KernelTests/Core/Routing/RouterTest.php Tests the router.
RouterTest.php file core/tests/Drupal/KernelTests/Core/Routing/RouterTest.php
RouterTest.php file core/modules/system/tests/src/Functional/Routing/RouterTest.php
RouterTest.php file core/tests/Drupal/Tests/Core/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::$modules property core/tests/Drupal/KernelTests/Core/Routing/RouterTest.php Modules to install.
RouterTest::$router property core/tests/Drupal/KernelTests/Core/Routing/RouterTest.php The router.
RouterTest::setUp function core/tests/Drupal/KernelTests/Core/Routing/RouterTest.php
RouterTest::tearDown function core/tests/Drupal/KernelTests/Core/Routing/RouterTest.php
RouterTest::testAttributeDiscovery function core/modules/system/tests/src/Functional/Routing/RouterTest.php Tests routes defined using PHP attributes.
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 Tests matches with different fit order.
RouterTest::testMatchRequest function core/tests/Drupal/KernelTests/Core/Routing/RouterTest.php Tests the router request matching.
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.

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