Search for url

  1. Search 7.x for url
  2. Search 9.5.x for url
  3. Search 8.9.x for url
  4. Search 10.3.x for url
  5. Search 11.x for url
  6. 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 a 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
TwigExtensionTest::$fileUrlGenerator property core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php The file URL generator.
TwigExtensionTest::$urlGenerator property core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php The URL generator.
TwigExtensionTest::setUpMockFileUrlGenerator function core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php Reinitializes the file URL generator as a mock object.
TwigExtensionTest::testFileUrl function core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php Tests the file_url filter.
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/js/twig_theme_test.js') }}</div>
<div>file_url: {{ file_url(undefined_variable) }}</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 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 Tests Drupal\Core\Utility\UnroutedUrlAssembler.
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::setUpMockPathProcessor function core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php Reinitializes the path processor as a mock object.
UnroutedUrlAssemblerTest::setupRequestStack function core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php Setups the request stack for a given subdir.
UnroutedUrlAssemblerTest::testAssembleExternalUrls function core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php Tests external URLs are only processed if necessary.
UnroutedUrlAssemblerTest::testAssembleWithEnabledProcessing function core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php Tests assemble with enabled processing.
UnroutedUrlAssemblerTest::testAssembleWithExternalUrl function core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php Tests assemble with external url.
UnroutedUrlAssemblerTest::testAssembleWithLeadingSlash function core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php Tests assemble with leading slash.
UnroutedUrlAssemblerTest::testAssembleWithLocalUri function core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php Tests assemble with local uri.
UnroutedUrlAssemblerTest::testAssembleWithNeitherExternalNorDomainLocalUri function core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php Tests assemble with neither external nor domain local uri.
UnroutedUrlAssemblerTest::testAssembleWithNotEnabledProcessing function core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php Tests assemble with not enabled processing.
UnroutedUrlAssemblerTest::testAssembleWithStartingSlashEnabledProcessing function core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php Tests assemble with starting slash enabled processing.
UnroutedUrlTest class core/tests/Drupal/Tests/Core/UnroutedUrlTest.php Tests Drupal\Core\Url.
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.

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