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 main 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
SetBrowserUrl class core/modules/views/src/Ajax/SetBrowserUrl.php AJAX command that sets the browser URL without refreshing the page.
SetBrowserUrl.php file core/modules/views/src/Ajax/SetBrowserUrl.php
SetBrowserUrl::render function core/modules/views/src/Ajax/SetBrowserUrl.php
SetBrowserUrl::__construct function core/modules/views/src/Ajax/SetBrowserUrl.php Constructs a new command instance.
SetFormCommand::$url property core/modules/views_ui/src/Ajax/SetFormCommand.php The URL of the form.
Shortcut::getUrl function core/modules/shortcut/src/Entity/Shortcut.php
ShortcutDeleteForm::getCancelUrl function core/modules/shortcut/src/Form/ShortcutDeleteForm.php
ShortcutDeleteForm::getRedirectUrl function core/modules/shortcut/src/Form/ShortcutDeleteForm.php
ShortcutInterface::getUrl function core/modules/shortcut/src/ShortcutInterface.php Returns the URL object pointing to the configured route.
SimpleConfigSectionStorage::getLayoutBuilderUrl function core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/SectionStorage/SimpleConfigSectionStorage.php
SimpleConfigSectionStorage::getRedirectUrl function core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/SectionStorage/SimpleConfigSectionStorage.php
StreamWrapperInterface::getExternalUrl function core/lib/Drupal/Core/StreamWrapper/StreamWrapperInterface.php Returns a web accessible URL for the resource.
StringFormatter::getEntityUrl function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/StringFormatter.php Gets the URI elements of the entity.
SwitchToLiveForm::getCancelUrl function core/modules/workspaces_ui/src/Form/SwitchToLiveForm.php
SwitchToLiveForm::getCancelUrl function core/modules/workspaces/src/Form/SwitchToLiveForm.php Returns the route to go to if the user cancels the action.
system_authorized_batch_processing_url function core/modules/system/system.module Returns the URL for the authorize.php script when it is processing a batch.
system_authorized_get_url function core/modules/system/system.module Return the URL for the authorize.php script.
TemporaryStream::getExternalUrl function core/lib/Drupal/Core/StreamWrapper/TemporaryStream.php
TermAutocompleteTest::$autocompleteUrl property core/modules/taxonomy/tests/src/Functional/TermAutocompleteTest.php The autocomplete URL to call.
TermDeleteForm::getCancelUrl function core/modules/taxonomy/src/Form/TermDeleteForm.php
TermDeleteForm::getRedirectUrl function core/modules/taxonomy/src/Form/TermDeleteForm.php
TestActionConfirmForm::getCancelUrl function core/modules/views/tests/modules/action_bulk_test/src/Form/TestActionConfirmForm.php
TestSiteInstallCommand::$baseUrl property core/tests/Drupal/TestSite/Commands/TestSiteInstallCommand.php The base URL.
TestStateBasedSectionStorage::getLayoutBuilderUrl function core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/SectionStorage/TestStateBasedSectionStorage.php
TestStateBasedSectionStorage::getRedirectUrl function core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/SectionStorage/TestStateBasedSectionStorage.php
TestUrl class core/tests/Drupal/Tests/Core/UrlTest.php URL information holder with overridden access manager for testing.
TestUrl::setAccessManager function core/tests/Drupal/Tests/Core/UrlTest.php Sets the access manager.
ThemeExperimentalConfirmForm::getCancelUrl function core/modules/system/src/Form/ThemeExperimentalConfirmForm.php
ThemeUninstallConfirmForm::getCancelUrl function core/modules/system/src/Form/ThemeUninstallConfirmForm.php
TranslationsStream::getExternalUrl function core/modules/locale/src/StreamWrapper/TranslationsStream.php phpcs:ignore Drupal.Files.LineLength
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 Tests set target url with internal url.
TrustedRedirectResponseTest::testSetTargetUrlWithTrustedUrl function core/tests/Drupal/Tests/Core/Routing/TrustedRedirectResponseTest.php Tests set target url with trusted url.
TrustedRedirectResponseTest::testSetTargetUrlWithUntrustedUrl function core/tests/Drupal/Tests/Core/Routing/TrustedRedirectResponseTest.php Tests set target url with untrusted url.
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/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>

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