UrlHelperTest::testIsExternal |
function |
core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php |
Tests external versus internal paths. |
UrlHelperTest::testParse |
function |
core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php |
Tests URL parsing. |
UrlHelperTest::testStripDangerousProtocols |
function |
core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php |
Tests dangerous URL protocol filtering. |
UrlHelperTest::testValidAbsolute |
function |
core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php |
Tests valid absolute URLs. |
UrlHelperTest::testValidRelative |
function |
core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php |
Tests valid relative URLs. |
UrlIntegrationTest |
class |
core/tests/Drupal/KernelTests/Core/Routing/UrlIntegrationTest.php |
Tests the URL object integration into the access system. |
UrlIntegrationTest.php |
file |
core/tests/Drupal/KernelTests/Core/Routing/UrlIntegrationTest.php |
|
UrlIntegrationTest::$modules |
property |
core/tests/Drupal/KernelTests/Core/Routing/UrlIntegrationTest.php |
Modules to enable. |
UrlIntegrationTest::testAccess |
function |
core/tests/Drupal/KernelTests/Core/Routing/UrlIntegrationTest.php |
Ensures that the access() method on \Drupal\Core\Url objects works. |
UrlMatcher |
class |
core/lib/Drupal/Core/Routing/UrlMatcher.php |
Drupal-specific URL Matcher; handles the Drupal "system path" mapping. |
UrlMatcher.php |
file |
core/lib/Drupal/Core/Routing/UrlMatcher.php |
|
UrlMatcher::$currentPath |
property |
core/lib/Drupal/Core/Routing/UrlMatcher.php |
The current path. |
UrlMatcher::finalMatch |
function |
core/lib/Drupal/Core/Routing/UrlMatcher.php |
|
UrlMatcher::getAttributes |
function |
core/lib/Drupal/Core/Routing/UrlMatcher.php |
|
UrlMatcher::__construct |
function |
core/lib/Drupal/Core/Routing/UrlMatcher.php |
Constructs a new UrlMatcher. |
UrlPlainFormatter |
class |
core/modules/file/src/Plugin/Field/FieldFormatter/UrlPlainFormatter.php |
Plugin implementation of the 'file_url_plain' formatter. |
UrlPlainFormatter.php |
file |
core/modules/file/src/Plugin/Field/FieldFormatter/UrlPlainFormatter.php |
|
UrlPlainFormatter::viewElements |
function |
core/modules/file/src/Plugin/Field/FieldFormatter/UrlPlainFormatter.php |
Builds a renderable array for a field value. |
UrlResolver |
class |
core/modules/media/src/OEmbed/UrlResolver.php |
Converts oEmbed media URLs into endpoint-specific resource URLs. |
UrlResolver |
class |
core/modules/media/tests/modules/media_test_oembed/src/UrlResolver.php |
Overrides the oEmbed URL resolver service for testing purposes. |
UrlResolver.php |
file |
core/modules/media/src/OEmbed/UrlResolver.php |
|
UrlResolver.php |
file |
core/modules/media/tests/modules/media_test_oembed/src/UrlResolver.php |
|
UrlResolver::$cacheBackend |
property |
core/modules/media/src/OEmbed/UrlResolver.php |
The cache backend. |
UrlResolver::$httpClient |
property |
core/modules/media/src/OEmbed/UrlResolver.php |
The HTTP client. |
UrlResolver::$moduleHandler |
property |
core/modules/media/src/OEmbed/UrlResolver.php |
The module handler service. |
UrlResolver::$providers |
property |
core/modules/media/src/OEmbed/UrlResolver.php |
The OEmbed provider repository service. |
UrlResolver::$resourceFetcher |
property |
core/modules/media/src/OEmbed/UrlResolver.php |
The OEmbed resource fetcher service. |
UrlResolver::$urlCache |
property |
core/modules/media/src/OEmbed/UrlResolver.php |
Static cache of discovered oEmbed resource URLs, keyed by canonical URL. |
UrlResolver::discoverResourceUrl |
function |
core/modules/media/src/OEmbed/UrlResolver.php |
Runs oEmbed discovery and returns the endpoint URL if successful. |
UrlResolver::findUrl |
function |
core/modules/media/src/OEmbed/UrlResolver.php |
Tries to find the oEmbed URL in a DOM. |
UrlResolver::getEndpointMatchingUrl |
function |
core/modules/media/src/OEmbed/UrlResolver.php |
For the given media item URL find an endpoint with schemes that match. |
UrlResolver::getProviderByUrl |
function |
core/modules/media/src/OEmbed/UrlResolver.php |
Tries to determine the oEmbed provider for a media asset URL. |
UrlResolver::getResourceUrl |
function |
core/modules/media/src/OEmbed/UrlResolver.php |
Builds the resource URL for a media asset URL. |
UrlResolver::getResourceUrl |
function |
core/modules/media/tests/modules/media_test_oembed/src/UrlResolver.php |
Builds the resource URL for a media asset URL. |
UrlResolver::setEndpointUrl |
function |
core/modules/media/tests/modules/media_test_oembed/src/UrlResolver.php |
Sets the endpoint URL for an oEmbed resource URL. |
UrlResolver::__construct |
function |
core/modules/media/src/OEmbed/UrlResolver.php |
Constructs a UrlResolver object. |
UrlResolverInterface |
interface |
core/modules/media/src/OEmbed/UrlResolverInterface.php |
Defines the interface for the oEmbed URL resolver service. |
UrlResolverInterface.php |
file |
core/modules/media/src/OEmbed/UrlResolverInterface.php |
|
UrlResolverInterface::getProviderByUrl |
function |
core/modules/media/src/OEmbed/UrlResolverInterface.php |
Tries to determine the oEmbed provider for a media asset URL. |
UrlResolverInterface::getResourceUrl |
function |
core/modules/media/src/OEmbed/UrlResolverInterface.php |
Builds the resource URL for a media asset URL. |
UrlResolverTest |
class |
core/modules/media/tests/src/Kernel/UrlResolverTest.php |
@coversDefaultClass \Drupal\media\OEmbed\UrlResolver |
UrlResolverTest |
class |
core/modules/media/tests/src/Functional/UrlResolverTest.php |
Tests the oEmbed URL resolver service. |
UrlResolverTest.php |
file |
core/modules/media/tests/src/Kernel/UrlResolverTest.php |
|
UrlResolverTest.php |
file |
core/modules/media/tests/src/Functional/UrlResolverTest.php |
|
UrlResolverTest::$defaultTheme |
property |
core/modules/media/tests/src/Functional/UrlResolverTest.php |
The theme to install as the default for testing. |
UrlResolverTest::providerEndpointMatching |
function |
core/modules/media/tests/src/Functional/UrlResolverTest.php |
Data provider for testEndpointMatching(). |
UrlResolverTest::providerUrlDiscovery |
function |
core/modules/media/tests/src/Functional/UrlResolverTest.php |
Data provider for testUrlDiscovery(). |
UrlResolverTest::setUp |
function |
core/modules/media/tests/src/Functional/UrlResolverTest.php |
|
UrlResolverTest::testDeprecations |
function |
core/modules/media/tests/src/Kernel/UrlResolverTest.php |
@covers ::__construct |
UrlResolverTest::testEndpointMatching |
function |
core/modules/media/tests/src/Functional/UrlResolverTest.php |
Tests resource URL resolution with a matched provider endpoint. |