UnroutedUrlTest::testFromInvalidUri |
function |
core/tests/Drupal/Tests/Core/UnroutedUrlTest.php |
Tests the fromUri() method. |
UnroutedUrlTest::testFromUri |
function |
core/tests/Drupal/Tests/Core/UnroutedUrlTest.php |
Tests the fromUri() method. |
UnroutedUrlTest::testGetInternalPath |
function |
core/tests/Drupal/Tests/Core/UnroutedUrlTest.php |
Tests the getInternalPath() method. |
UnroutedUrlTest::testGetOptions |
function |
core/tests/Drupal/Tests/Core/UnroutedUrlTest.php |
Tests the getOptions() method. |
UnroutedUrlTest::testGetRouteName |
function |
core/tests/Drupal/Tests/Core/UnroutedUrlTest.php |
Tests the getRouteName() method. |
UnroutedUrlTest::testGetRouteParameters |
function |
core/tests/Drupal/Tests/Core/UnroutedUrlTest.php |
Tests the getRouteParameters() method. |
UnroutedUrlTest::testGetUri |
function |
core/tests/Drupal/Tests/Core/UnroutedUrlTest.php |
Tests the getPath() method. |
UnroutedUrlTest::testIsExternal |
function |
core/tests/Drupal/Tests/Core/UnroutedUrlTest.php |
Tests the isExternal() method. |
UnroutedUrlTest::testToString |
function |
core/tests/Drupal/Tests/Core/UnroutedUrlTest.php |
Tests the toString() method. |
unrouted_url_assembler |
service |
core/core.services.yml |
Drupal\Core\Utility\UnroutedUrlAssembler |
UpdateLocalTasksTest::getUpdateModuleRoutes |
function |
core/modules/update/tests/src/Unit/Menu/UpdateLocalTasksTest.php |
Provides a list of module routes to test. |
UpdateLocalTasksTest::getUpdateReportRoutes |
function |
core/modules/update/tests/src/Unit/Menu/UpdateLocalTasksTest.php |
Provides a list of report routes to test. |
UpdateLocalTasksTest::getUpdateThemeRoutes |
function |
core/modules/update/tests/src/Unit/Menu/UpdateLocalTasksTest.php |
Provides a list of theme routes to test. |
Url::$routeName |
property |
core/lib/Drupal/Core/Url.php |
The route name. |
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. |