Search for url
Exact matches
Title | Object type | File name | Summary |
---|---|---|---|
Url | class | core/ |
Field handler to provide simple renderer that turns a URL into a clickable link. |
Url | class | core/ |
Provides a form element for input of a URL. |
Url | class | core/ |
Defines an object that holds information about a URL. |
All search results
Title | Object type | File name | Summary |
---|---|---|---|
TwigSandboxTest::testUrlSafeMethods | function | core/ |
Tests that safe methods inside Url objects can be called. |
TwigThemeTestController::fileUrlRender | function | core/ |
Renders for testing file_url functions in a Twig template. |
TwigThemeTestController::urlGeneratorRender | function | core/ |
Renders for testing url_generator functions in a Twig template. |
TwigThemeTestController::urlToStringRender | function | core/ |
Renders a URL to a string. |
twig_theme_test.file_url.html.twig | file | core/ |
<div>file_url: {{ file_url('core/modules/system/tests/modules/twig_theme_test/twig_theme_test.js') }}</div> |
twig_theme_test.url_generator.html.twig | file | core/ |
{# Test the url and path twig functions #} <div>path (as route) not absolute: {{ path('user.register') }}</div> <div>url (as route) absolute: {{ url('user.register') }}</div> <div>path (as route) not… |
twig_theme_test.url_to_string.html.twig | file | core/ |
<div>rendered url: {{ test_url }}</div> |
UiHelperTrait::buildUrl | function | core/ |
Builds an a absolute URL from a system path or a URL object. |
UiHelperTrait::getAbsoluteUrl | function | core/ |
Takes a path and returns an absolute path. |
UiHelperTrait::getUrl | function | core/ |
Get the current URL from the browser. |
UnroutedUrlAssembler | class | core/ |
Provides a way to build external or non Drupal local domain URLs. |
UnroutedUrlAssembler.php | file | core/ |
|
UnroutedUrlAssembler::$pathProcessor | property | core/ |
The outbound path processor. |
UnroutedUrlAssembler::$requestStack | property | core/ |
A request stack object. |
UnroutedUrlAssembler::addOptionDefaults | function | core/ |
Merges in default defaults |
UnroutedUrlAssembler::assemble | function | core/ |
This is a helper function that calls buildExternalUrl() or buildLocalUrl() based on a check of whether the path is a valid external URL. |
UnroutedUrlAssembler::buildExternalUrl | function | core/ |
|
UnroutedUrlAssembler::buildLocalUrl | function | core/ |
|
UnroutedUrlAssembler::__construct | function | core/ |
Constructs a new unroutedUrlAssembler object. |
UnroutedUrlAssemblerInterface | interface | core/ |
Provides a way to build external or non Drupal local domain URLs. |
UnroutedUrlAssemblerInterface.php | file | core/ |
|
UnroutedUrlAssemblerInterface::assemble | function | core/ |
Builds a domain-local or external URL from a URI. |
UnroutedUrlAssemblerTest | class | core/ |
@coversDefaultClass \Drupal\Core\Utility\UnroutedUrlAssembler @group Utility |
UnroutedUrlAssemblerTest.php | file | core/ |
|
UnroutedUrlAssemblerTest::$configFactory | property | core/ |
The mocked config factory. |
UnroutedUrlAssemblerTest::$pathProcessor | property | core/ |
The mocked outbound path processor. |
UnroutedUrlAssemblerTest::$requestStack | property | core/ |
The request stack. |
UnroutedUrlAssemblerTest::$unroutedUrlAssembler | property | core/ |
The tested unrouted URL assembler. |
UnroutedUrlAssemblerTest::providerTestAssembleWithExternalUrl | function | core/ |
Provides test data for testAssembleWithExternalUrl |
UnroutedUrlAssemblerTest::providerTestAssembleWithLocalUri | function | core/ |
|
UnroutedUrlAssemblerTest::setUp | function | core/ |
|
UnroutedUrlAssemblerTest::setupRequestStack | function | core/ |
Setups the request stack for a given subdir. |
UnroutedUrlAssemblerTest::testAssembleWithEnabledProcessing | function | core/ |
@covers ::assemble |
UnroutedUrlAssemblerTest::testAssembleWithExternalUrl | function | core/ |
@covers ::assemble @covers ::buildExternalUrl |
UnroutedUrlAssemblerTest::testAssembleWithLeadingSlash | function | core/ |
@covers ::assemble |
UnroutedUrlAssemblerTest::testAssembleWithLocalUri | function | core/ |
@covers ::assemble @covers::buildLocalUrl |
UnroutedUrlAssemblerTest::testAssembleWithNeitherExternalNorDomainLocalUri | function | core/ |
@covers ::assemble |
UnroutedUrlAssemblerTest::testAssembleWithNotEnabledProcessing | function | core/ |
@covers ::assemble |
UnroutedUrlTest | class | core/ |
@coversDefaultClass \Drupal\Core\Url @group UrlTest |
UnroutedUrlTest.php | file | core/ |
|
UnroutedUrlTest::$router | property | core/ |
The router. |
UnroutedUrlTest::$unroutedExternal | property | core/ |
An unrouted, external URL to test. |
UnroutedUrlTest::$unroutedInternal | property | core/ |
An unrouted, internal URL to test. |
UnroutedUrlTest::$urlAssembler | property | core/ |
The URL assembler |
UnroutedUrlTest::providerFromInvalidUri | function | core/ |
Data provider for testFromInvalidUri(). |
UnroutedUrlTest::providerFromUri | function | core/ |
Data provider for testFromUri(). |
UnroutedUrlTest::setUp | function | core/ |
|
UnroutedUrlTest::testCreateFromRequest | function | core/ |
Tests the createFromRequest method. |
UnroutedUrlTest::testFromInvalidUri | function | core/ |
Tests the fromUri() method. |
UnroutedUrlTest::testFromUri | function | core/ |
Tests the fromUri() method. |
Pagination
- Previous page
- Page 13
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.