Search for url

  1. Search 7.x for url
  2. Search 9.5.x for url
  3. Search 10.3.x for url
  4. Search 11.x for url
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Url class core/modules/views/src/Plugin/views/field/Url.php Field handler to provide simple renderer that turns a URL into a clickable link.
Url class core/lib/Drupal/Core/Render/Element/Url.php Provides a form element for input of a URL.
Url class core/lib/Drupal/Core/Url.php Defines an object that holds information about a URL.

All search results

Title Object type File name Summary
TwigSandboxTest::testUrlSafeMethods function core/tests/Drupal/Tests/Core/Template/TwigSandboxTest.php Tests that safe methods inside Url objects can be called.
TwigThemeTestController::fileUrlRender function core/modules/system/tests/modules/twig_theme_test/src/TwigThemeTestController.php Renders for testing file_url functions in a Twig template.
TwigThemeTestController::urlGeneratorRender function core/modules/system/tests/modules/twig_theme_test/src/TwigThemeTestController.php Renders for testing url_generator functions in a Twig template.
TwigThemeTestController::urlToStringRender function core/modules/system/tests/modules/twig_theme_test/src/TwigThemeTestController.php Renders a URL to a string.
twig_theme_test.file_url.html.twig file core/modules/system/tests/modules/twig_theme_test/templates/twig_theme_test.file_url.html.twig <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/modules/system/tests/modules/twig_theme_test/templates/twig_theme_test.url_generator.html.twig {# 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/modules/system/tests/modules/twig_theme_test/templates/twig_theme_test.url_to_string.html.twig <div>rendered url: {{ test_url }}</div>
UiHelperTrait::buildUrl function core/tests/Drupal/Tests/UiHelperTrait.php Builds an a absolute URL from a system path or a URL object.
UiHelperTrait::getAbsoluteUrl function core/tests/Drupal/Tests/UiHelperTrait.php Takes a path and returns an absolute path.
UiHelperTrait::getUrl function core/tests/Drupal/Tests/UiHelperTrait.php Get the current URL from the browser.
UnroutedUrlAssembler class core/lib/Drupal/Core/Utility/UnroutedUrlAssembler.php Provides a way to build external or non Drupal local domain URLs.
UnroutedUrlAssembler.php file core/lib/Drupal/Core/Utility/UnroutedUrlAssembler.php
UnroutedUrlAssembler::$pathProcessor property core/lib/Drupal/Core/Utility/UnroutedUrlAssembler.php The outbound path processor.
UnroutedUrlAssembler::$requestStack property core/lib/Drupal/Core/Utility/UnroutedUrlAssembler.php A request stack object.
UnroutedUrlAssembler::addOptionDefaults function core/lib/Drupal/Core/Utility/UnroutedUrlAssembler.php Merges in default defaults
UnroutedUrlAssembler::assemble function core/lib/Drupal/Core/Utility/UnroutedUrlAssembler.php 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/lib/Drupal/Core/Utility/UnroutedUrlAssembler.php
UnroutedUrlAssembler::buildLocalUrl function core/lib/Drupal/Core/Utility/UnroutedUrlAssembler.php
UnroutedUrlAssembler::__construct function core/lib/Drupal/Core/Utility/UnroutedUrlAssembler.php Constructs a new unroutedUrlAssembler object.
UnroutedUrlAssemblerInterface interface core/lib/Drupal/Core/Utility/UnroutedUrlAssemblerInterface.php Provides a way to build external or non Drupal local domain URLs.
UnroutedUrlAssemblerInterface.php file core/lib/Drupal/Core/Utility/UnroutedUrlAssemblerInterface.php
UnroutedUrlAssemblerInterface::assemble function core/lib/Drupal/Core/Utility/UnroutedUrlAssemblerInterface.php Builds a domain-local or external URL from a URI.
UnroutedUrlAssemblerTest class core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php @coversDefaultClass \Drupal\Core\Utility\UnroutedUrlAssembler
@group Utility
UnroutedUrlAssemblerTest.php file core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php
UnroutedUrlAssemblerTest::$configFactory property core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php The mocked config factory.
UnroutedUrlAssemblerTest::$pathProcessor property core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php The mocked outbound path processor.
UnroutedUrlAssemblerTest::$requestStack property core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php The request stack.
UnroutedUrlAssemblerTest::$unroutedUrlAssembler property core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php The tested unrouted URL assembler.
UnroutedUrlAssemblerTest::providerTestAssembleWithExternalUrl function core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php Provides test data for testAssembleWithExternalUrl
UnroutedUrlAssemblerTest::providerTestAssembleWithLocalUri function core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php
UnroutedUrlAssemblerTest::setUp function core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php
UnroutedUrlAssemblerTest::setupRequestStack function core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php Setups the request stack for a given subdir.
UnroutedUrlAssemblerTest::testAssembleWithEnabledProcessing function core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php @covers ::assemble
UnroutedUrlAssemblerTest::testAssembleWithExternalUrl function core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php @covers ::assemble
@covers ::buildExternalUrl
UnroutedUrlAssemblerTest::testAssembleWithLeadingSlash function core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php @covers ::assemble
UnroutedUrlAssemblerTest::testAssembleWithLocalUri function core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php @covers ::assemble
@covers::buildLocalUrl
UnroutedUrlAssemblerTest::testAssembleWithNeitherExternalNorDomainLocalUri function core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php @covers ::assemble
UnroutedUrlAssemblerTest::testAssembleWithNotEnabledProcessing function core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php @covers ::assemble
UnroutedUrlTest class core/tests/Drupal/Tests/Core/UnroutedUrlTest.php @coversDefaultClass \Drupal\Core\Url
@group UrlTest
UnroutedUrlTest.php file core/tests/Drupal/Tests/Core/UnroutedUrlTest.php
UnroutedUrlTest::$router property core/tests/Drupal/Tests/Core/UnroutedUrlTest.php The router.
UnroutedUrlTest::$unroutedExternal property core/tests/Drupal/Tests/Core/UnroutedUrlTest.php An unrouted, external URL to test.
UnroutedUrlTest::$unroutedInternal property core/tests/Drupal/Tests/Core/UnroutedUrlTest.php An unrouted, internal URL to test.
UnroutedUrlTest::$urlAssembler property core/tests/Drupal/Tests/Core/UnroutedUrlTest.php The URL assembler
UnroutedUrlTest::providerFromInvalidUri function core/tests/Drupal/Tests/Core/UnroutedUrlTest.php Data provider for testFromInvalidUri().
UnroutedUrlTest::providerFromUri function core/tests/Drupal/Tests/Core/UnroutedUrlTest.php Data provider for testFromUri().
UnroutedUrlTest::setUp function core/tests/Drupal/Tests/Core/UnroutedUrlTest.php
UnroutedUrlTest::testCreateFromRequest function core/tests/Drupal/Tests/Core/UnroutedUrlTest.php Tests the createFromRequest method.
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.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.