Url::isRouted |
function |
core/lib/Drupal/Core/Url.php |
Indicates if this URL has a Drupal route. |
Url::mergeOptions |
function |
core/lib/Drupal/Core/Url.php |
Merges the URL options with any currently set. |
Url::preRenderUrl |
function |
core/lib/Drupal/Core/Render/Element/Url.php |
Prepares a #type 'url' render element for input.html.twig. |
Url::renderAccess |
function |
core/lib/Drupal/Core/Url.php |
Checks a URL render element against applicable access check services. |
Url::setAbsolute |
function |
core/lib/Drupal/Core/Url.php |
Sets the value of the absolute option for this Url. |
Url::setOption |
function |
core/lib/Drupal/Core/Url.php |
Sets a specific option. |
Url::setOptions |
function |
core/lib/Drupal/Core/Url.php |
Sets the URL options. |
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::setUrlGenerator |
function |
core/lib/Drupal/Core/Url.php |
Sets the URL generator. |
Url::toRenderArray |
function |
core/lib/Drupal/Core/Url.php |
Returns the route information for a render array. |
Url::toString |
function |
core/lib/Drupal/Core/Url.php |
Generates the string URL representation for this Url object. |
Url::toUriString |
function |
core/lib/Drupal/Core/Url.php |
Generates a URI string that represents the data in the Url object. |
Url::trustedCallbacks |
function |
core/lib/Drupal/Core/Url.php |
|
Url::unroutedUrlAssembler |
function |
core/lib/Drupal/Core/Url.php |
Gets the unrouted URL assembler for non-Drupal URLs. |
Url::urlGenerator |
function |
core/lib/Drupal/Core/Url.php |
Gets the URL generator. |
Url::validateUrl |
function |
core/lib/Drupal/Core/Render/Element/Url.php |
Form element validation handler for #type 'url'. |
Url::__construct |
function |
core/lib/Drupal/Core/Url.php |
Constructs a new Url object. |
UrlAlterFunctionalTest |
class |
core/modules/forum/tests/src/Functional/UrlAlterFunctionalTest.php |
Tests altering the inbound path and the outbound path. |
UrlAlterFunctionalTest.php |
file |
core/modules/forum/tests/src/Functional/UrlAlterFunctionalTest.php |
|
UrlAlterFunctionalTest::$defaultTheme |
property |
core/modules/forum/tests/src/Functional/UrlAlterFunctionalTest.php |
|
UrlAlterFunctionalTest::$modules |
property |
core/modules/forum/tests/src/Functional/UrlAlterFunctionalTest.php |
Modules to enable. |
UrlAlterFunctionalTest::assertUrlInboundAlter |
function |
core/modules/forum/tests/src/Functional/UrlAlterFunctionalTest.php |
Assert that an inbound path is altered to an expected value. |
UrlAlterFunctionalTest::assertUrlOutboundAlter |
function |
core/modules/forum/tests/src/Functional/UrlAlterFunctionalTest.php |
Assert that an outbound path is altered to an expected value. |
UrlAlterFunctionalTest::testUrlAlter |
function |
core/modules/forum/tests/src/Functional/UrlAlterFunctionalTest.php |
Tests that URL altering works and that it occurs in the correct order. |
UrlCacheContext |
class |
core/lib/Drupal/Core/Cache/Context/UrlCacheContext.php |
Defines the UrlCacheContext service, for "per page" caching. |
UrlCacheContext.php |
file |
core/lib/Drupal/Core/Cache/Context/UrlCacheContext.php |
|
UrlCacheContext::getCacheableMetadata |
function |
core/lib/Drupal/Core/Cache/Context/UrlCacheContext.php |
|
UrlCacheContext::getContext |
function |
core/lib/Drupal/Core/Cache/Context/UrlCacheContext.php |
|
UrlCacheContext::getLabel |
function |
core/lib/Drupal/Core/Cache/Context/UrlCacheContext.php |
|
UrlGenerator |
class |
core/lib/Drupal/Core/Routing/UrlGenerator.php |
Generates URLs from route names and parameters. |
UrlGenerator.php |
file |
core/lib/Drupal/Core/Routing/UrlGenerator.php |
|
UrlGenerator::$context |
property |
core/lib/Drupal/Core/Routing/UrlGenerator.php |
|
UrlGenerator::$decodedChars |
property |
core/lib/Drupal/Core/Routing/UrlGenerator.php |
Overrides characters that will not be percent-encoded in the path segment. |
UrlGenerator::$pathProcessor |
property |
core/lib/Drupal/Core/Routing/UrlGenerator.php |
The path processor to convert the system path to one suitable for URLs. |
UrlGenerator::$provider |
property |
core/lib/Drupal/Core/Routing/UrlGenerator.php |
The route provider. |
UrlGenerator::$requestStack |
property |
core/lib/Drupal/Core/Routing/UrlGenerator.php |
A request stack object. |
UrlGenerator::$routeProcessor |
property |
core/lib/Drupal/Core/Routing/UrlGenerator.php |
The route processor. |
UrlGenerator::doGenerate |
function |
core/lib/Drupal/Core/Routing/UrlGenerator.php |
Substitute the route parameters into the route path. |
UrlGenerator::generate |
function |
core/lib/Drupal/Core/Routing/UrlGenerator.php |
|
UrlGenerator::generateFromRoute |
function |
core/lib/Drupal/Core/Routing/UrlGenerator.php |
|
UrlGenerator::getContext |
function |
core/lib/Drupal/Core/Routing/UrlGenerator.php |
|
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 |
|
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 |
Gets either the route name or a string based on the route object. |
UrlGenerator::getRouteStringIdentifier |
function |
core/lib/Drupal/Core/Routing/UrlGenerator.php |
Gets either the route name or a string based on the route object. |
UrlGenerator::isStrictRequirements |
function |
core/lib/Drupal/Core/Routing/UrlGenerator.php |
|