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 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
TestStateBasedSectionStorage::getLayoutBuilderUrl function core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/SectionStorage/TestStateBasedSectionStorage.php Gets the URL used to display the Layout Builder UI.
TestStateBasedSectionStorage::getRedirectUrl function core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/SectionStorage/TestStateBasedSectionStorage.php Gets the URL used when redirecting away from the Layout Builder UI.
TestUrl class core/tests/Drupal/Tests/Core/UrlTest.php
TestUrl::setAccessManager function core/tests/Drupal/Tests/Core/UrlTest.php Sets the access manager.
ThemeExperimentalConfirmForm::getCancelUrl function core/modules/system/src/Form/ThemeExperimentalConfirmForm.php Returns the route to go to if the user cancels the action.
TipPluginImage::$url property core/modules/tour/tests/tour_test/src/Plugin/tour/tip/TipPluginImage.php The URL which is used for the image in this Tip.
TipPluginImageLegacy::$url property core/modules/tour/tests/tour_test/src/Plugin/tour/tip/TipPluginImageLegacy.php The URL which is used for the image in this Tip.
TourHelpPageTest::getTourList function core/modules/tour/tests/src/Functional/TourHelpPageTest.php Gets a list of tours to test.
TranslationsStream::getExternalUrl function core/modules/locale/src/StreamWrapper/TranslationsStream.php Implements Drupal\Core\StreamWrapper\StreamWrapperInterface::getExternalUrl().
TrustedRedirectResponse::$trustedUrls property core/lib/Drupal/Core/Routing/TrustedRedirectResponse.php A list of trusted URLs, which are safe to redirect to.
TrustedRedirectResponse::setTrustedTargetUrl function core/lib/Drupal/Core/Routing/TrustedRedirectResponse.php Sets the target URL to a trusted URL.
TrustedRedirectResponseTest::testSetTargetUrlWithInternalUrl function core/tests/Drupal/Tests/Core/Routing/TrustedRedirectResponseTest.php @covers ::setTargetUrl
TrustedRedirectResponseTest::testSetTargetUrlWithTrustedUrl function core/tests/Drupal/Tests/Core/Routing/TrustedRedirectResponseTest.php @covers ::setTargetUrl
TrustedRedirectResponseTest::testSetTargetUrlWithUntrustedUrl function core/tests/Drupal/Tests/Core/Routing/TrustedRedirectResponseTest.php @covers ::setTargetUrl
TwigExtension::$fileUrlGenerator property core/lib/Drupal/Core/Template/TwigExtension.php The file URL generator.
TwigExtension::$urlGenerator property core/lib/Drupal/Core/Template/TwigExtension.php The URL generator.
TwigExtension::getFileUrl function core/lib/Drupal/Core/Template/TwigExtension.php Gets the file URL.
TwigExtension::getUrl function core/lib/Drupal/Core/Template/TwigExtension.php Generates an absolute URL given a route name and parameters.
TwigExtension::isUrlGenerationSafe function core/lib/Drupal/Core/Template/TwigExtension.php Determines at compile time whether the generated URL will be safe.
TwigExtensionTest::$fileUrlGenerator property core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php The file URL generator mock.
TwigExtensionTest::$urlGenerator property core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php The URL generator.
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/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 @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.

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