Url::$routeParameters |
property |
core/lib/Drupal/Core/Url.php |
The route parameters. |
Url::$unrouted |
property |
core/lib/Drupal/Core/Url.php |
Indicates whether this URL is for a URI without a Drupal route. |
Url::fromRoute |
function |
core/lib/Drupal/Core/Url.php |
Creates a new Url object for a URL that has a Drupal route. |
Url::fromRouteMatch |
function |
core/lib/Drupal/Core/Url.php |
Creates a new URL object from a route match. |
Url::fromRouteUri |
function |
core/lib/Drupal/Core/Url.php |
Creates a new Url object for 'route:' URIs. |
Url::getRouteName |
function |
core/lib/Drupal/Core/Url.php |
Returns the route name. |
Url::getRouteParameters |
function |
core/lib/Drupal/Core/Url.php |
Returns the route parameters. |
Url::isRouted |
function |
core/lib/Drupal/Core/Url.php |
Indicates if this URL has a Drupal route. |
Url::setRouteParameter |
function |
core/lib/Drupal/Core/Url.php |
Sets a specific route parameter. |
Url::setRouteParameters |
function |
core/lib/Drupal/Core/Url.php |
Sets the route parameters. |
Url::setUnrouted |
function |
core/lib/Drupal/Core/Url.php |
Sets this URL to encapsulate an unrouted URI. |
Url::setUnroutedUrlAssembler |
function |
core/lib/Drupal/Core/Url.php |
Sets the unrouted URL assembler. |
Url::unroutedUrlAssembler |
function |
core/lib/Drupal/Core/Url.php |
Gets the unrouted URL assembler for non-Drupal URLs. |
UrlGenerator::$routeProcessor |
property |
core/lib/Drupal/Core/Routing/UrlGenerator.php |
The route processor. |
UrlGenerator::generateFromRoute |
function |
core/lib/Drupal/Core/Routing/UrlGenerator.php |
Generates a URL or path for a specific route based on the given parameters. |
UrlGenerator::getInternalPathFromRoute |
function |
core/lib/Drupal/Core/Routing/UrlGenerator.php |
Gets the path of a route. |
UrlGenerator::getPathFromRoute |
function |
core/lib/Drupal/Core/Routing/UrlGenerator.php |
Gets the internal path (system path) for a route. |
UrlGenerator::getRoute |
function |
core/lib/Drupal/Core/Routing/UrlGenerator.php |
Find the route using the provided route name. |
UrlGenerator::getRouteDebugMessage |
function |
core/lib/Drupal/Core/Routing/UrlGenerator.php |
|
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 |
|