UrlGenerator::getRoute |
function |
core/lib/Drupal/Core/Routing/UrlGenerator.php |
Find the route using the provided route name. |
UrlGenerator::processRoute |
function |
core/lib/Drupal/Core/Routing/UrlGenerator.php |
Passes the route to the processor manager for altering before compilation. |
UrlGeneratorInterface::generateFromRoute |
function |
core/lib/Drupal/Core/Routing/UrlGeneratorInterface.php |
Generates a URL or path for a specific route based on the given parameters. |
UrlGeneratorInterface::getPathFromRoute |
function |
core/lib/Drupal/Core/Routing/UrlGeneratorInterface.php |
Gets the internal path (system path) for a route. |
UrlGeneratorTest::$routeProcessorManager |
property |
core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php |
The mock route processor manager. |
UrlGeneratorTest::assertGenerateFromRoute |
function |
core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php |
Asserts \Drupal\Core\Routing\UrlGenerator::generateFromRoute()'s output. |
UrlGeneratorTest::testGetPathFromRouteTrailing |
function |
core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php |
Tests URL generation from route with trailing start and end slashes. |
UrlGeneratorTest::testGetPathFromRouteWithSubdirectory |
function |
core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php |
Tests URL generation in a subdirectory. |
UrlGeneratorTest::testUrlGenerationWithDisabledPathProcessingByRoute |
function |
core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php |
@covers ::generateFromRoute |
UrlGeneratorTest::testUrlGenerationWithDisabledPathProcessingByRouteAndOptedInPathProcessing |
function |
core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php |
@covers ::generateFromRoute |
UrlTest::$router |
property |
core/tests/Drupal/Tests/Core/UrlTest.php |
The router. |
UrlTest::providerTestToUriStringForRoute |
function |
core/tests/Drupal/Tests/Core/UrlTest.php |
Data provider for testing route: URIs. |
UrlTest::testAccessRouted |
function |
core/tests/Drupal/Tests/Core/UrlTest.php |
Tests the access() method for routed URLs. |
UrlTest::testAccessUnrouted |
function |
core/tests/Drupal/Tests/Core/UrlTest.php |
Tests the access() method for unrouted URLs (they always have access). |
UrlTest::testFromRoutedPathWithInvalidRoute |
function |
core/tests/Drupal/Tests/Core/UrlTest.php |
Tests fromUri() method with a user-entered path not matching any route. |
UrlTest::testFromRoutedPathWithValidRoute |
function |
core/tests/Drupal/Tests/Core/UrlTest.php |
Tests fromUri() method with user-entered path matching a valid route. |
UrlTest::testFromRouteFront |
function |
core/tests/Drupal/Tests/Core/UrlTest.php |
Tests the fromRoute() method with the special <front> path. |
UrlTest::testFromRouteMatch |
function |
core/tests/Drupal/Tests/Core/UrlTest.php |
Tests the fromRouteMatch() method. |
UrlTest::testFromRouteUriWithMissingRouteName |
function |
core/tests/Drupal/Tests/Core/UrlTest.php |
@covers ::fromUri |
UrlTest::testGetRouteName |
function |
core/tests/Drupal/Tests/Core/UrlTest.php |
Tests the getRouteName() method. |
UrlTest::testGetRouteNameWithExternalUrl |
function |
core/tests/Drupal/Tests/Core/UrlTest.php |
Tests the getRouteName() with an external URL. |
UrlTest::testGetRouteParameters |
function |
core/tests/Drupal/Tests/Core/UrlTest.php |
Tests the getRouteParameters() method. |
UrlTest::testGetRouteParametersWithExternalUrl |
function |
core/tests/Drupal/Tests/Core/UrlTest.php |
Tests the getRouteParameters() with an external URL. |
UrlTest::testToUriStringForRoute |
function |
core/tests/Drupal/Tests/Core/UrlTest.php |
Tests the toUriString() method with route: URIs. |
User::$routeMatch |
property |
core/modules/user/src/Plugin/views/argument_default/User.php |
The route match. |
UserAuthenticationController::$routeProvider |
property |
core/modules/user/src/Controller/UserAuthenticationController.php |
The route provider. |
UserLocalTasksTest::getUserAdminRoutes |
function |
core/modules/user/tests/src/Unit/Menu/UserLocalTasksTest.php |
Provides a list of routes to test. |
UserLocalTasksTest::getUserLoginRoutes |
function |
core/modules/user/tests/src/Unit/Menu/UserLocalTasksTest.php |
Provides a list of routes to test. |
UserLocalTasksTest::getUserPageRoutes |
function |
core/modules/user/tests/src/Unit/Menu/UserLocalTasksTest.php |
Provides a list of routes to test. |
UserLoginBlock::$routeMatch |
property |
core/modules/user/src/Plugin/Block/UserLoginBlock.php |
The route match. |
UserRouteAlterSubscriber |
class |
core/modules/serialization/src/EventSubscriber/UserRouteAlterSubscriber.php |
Alters user authentication routes to support additional serialization formats. |
UserRouteAlterSubscriber.php |
file |
core/modules/serialization/src/EventSubscriber/UserRouteAlterSubscriber.php |
|
UserRouteAlterSubscriber::$serializerFormats |
property |
core/modules/serialization/src/EventSubscriber/UserRouteAlterSubscriber.php |
The available serialization formats. |
UserRouteAlterSubscriber::getSubscribedEvents |
function |
core/modules/serialization/src/EventSubscriber/UserRouteAlterSubscriber.php |
|
UserRouteAlterSubscriber::onRoutingAlterAddFormats |
function |
core/modules/serialization/src/EventSubscriber/UserRouteAlterSubscriber.php |
Adds supported formats to the user authentication HTTP routes. |
UserRouteAlterSubscriber::__construct |
function |
core/modules/serialization/src/EventSubscriber/UserRouteAlterSubscriber.php |
UserRouteAlterSubscriber constructor. |
UserRouteAlterTest |
class |
core/modules/serialization/tests/src/Kernel/UserRouteAlterTest.php |
Tests that the user routes can be altered. |
UserRouteAlterTest.php |
file |
core/modules/serialization/tests/src/Kernel/UserRouteAlterTest.php |
|
UserRouteAlterTest::$modules |
property |
core/modules/serialization/tests/src/Kernel/UserRouteAlterTest.php |
Modules to install. |
UserRouteAlterTest::testUserAlteredRoute |
function |
core/modules/serialization/tests/src/Kernel/UserRouteAlterTest.php |
Tests the altered 'user.login.http' route. |
UserRouteProvider |
class |
core/modules/user/src/Entity/UserRouteProvider.php |
Provides routes for the user entity. |
UserRouteProvider.php |
file |
core/modules/user/src/Entity/UserRouteProvider.php |
|
UserRouteProvider::getRoutes |
function |
core/modules/user/src/Entity/UserRouteProvider.php |
Provides routes for entities. |
UserTrackerTab::getRouteParameters |
function |
core/modules/tracker/src/Plugin/Menu/UserTrackerTab.php |
Returns the route parameters needed to render a link for the local task. |
user_route_alter_test.info.yml |
file |
core/modules/serialization/tests/modules/user_route_alter_test/user_route_alter_test.info.yml |
core/modules/serialization/tests/modules/user_route_alter_test/user_route_alter_test.info.yml |
user_route_alter_test.services.yml |
file |
core/modules/serialization/tests/modules/user_route_alter_test/user_route_alter_test.services.yml |
core/modules/serialization/tests/modules/user_route_alter_test/user_route_alter_test.services.yml |
ViewExecutable::$routeProvider |
property |
core/modules/views/src/ViewExecutable.php |
The route provider. |
ViewExecutableFactory::$routeProvider |
property |
core/modules/views/src/ViewExecutableFactory.php |
The route provider. |
ViewExecutableFactoryTest::$routeProvider |
property |
core/modules/views/tests/src/Unit/ViewExecutableFactoryTest.php |
The mocked route provider. |
ViewExecutableTest::$routeProvider |
property |
core/modules/views/tests/src/Unit/ViewExecutableTest.php |
The mocked route provider. |