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. 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
$base_insecure_url global core/globals.api.php The insecure base URL of the Drupal installation.
$base_secure_url global core/globals.api.php The secure base URL of the Drupal installation.
$base_url global core/globals.api.php The base URL of the Drupal installation.
ActionDeleteForm::getCancelUrl function core/modules/action/src/Form/ActionDeleteForm.php
AddFeedTest::urlToRSSLinkPattern function core/modules/system/tests/src/Kernel/Common/AddFeedTest.php Creates a pattern representing the RSS feed in the page.
AjaxTestDialogForm::modalFromUrl function core/modules/system/tests/modules/ajax_test/src/Form/AjaxTestDialogForm.php AJAX callback handler for Url modal, AjaxTestDialogForm.
AnnounceFetcher::validateUrl function core/modules/announcements_feed/src/AnnounceFetcher.php Check whether a link is controlled by D.O.
AnnounceFetcherUnitTest::testValidateUrl function core/modules/announcements_feed/tests/src/Unit/AnnounceFetcherUnitTest.php Test the ValidateUrl() method.
AnnounceFetcherUnitTest::urlProvider function core/modules/announcements_feed/tests/src/Unit/AnnounceFetcherUnitTest.php Data for the testValidateUrl.
ArgumentDefaultTest::testArgumentDefaultUrlGeneration function core/modules/views/tests/src/Functional/Plugin/ArgumentDefaultTest.php Tests the more line generation if a default argument is provided.
AssetsStream::baseUrl function core/lib/Drupal/Core/StreamWrapper/AssetsStream.php Finds and returns the base URL for public://.
AttachedAssetsTest::$fileUrlGenerator property core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php The file URL generator.
bad_help_topics.url_func_used.html.twig file core/modules/help/tests/modules/help_topics_test/bad_help_topics/syntax/bad_help_topics.url_func_used.html.twig ---
label: 'URL test topic that uses outdated url function'
top_level: true
---
{% set link_uses_url_func = render_var(url('valid.route')) %}
<p>{% trans %}This topic should be top-level. It is used to test URLs{% endtrans…
BanDelete::getCancelUrl function core/modules/ban/src/Form/BanDelete.php Returns the route to go to if the user cancels the action.
BaseFieldFileFormatterBase::$fileUrlGenerator property core/modules/file/src/Plugin/Field/FieldFormatter/BaseFieldFileFormatterBase.php The file URL generator.
BatchBuilder::$urlOptions property core/lib/Drupal/Core/Batch/BatchBuilder.php An array of options to be used with the redirect URL.
BatchBuilder::setUrlOptions function core/lib/Drupal/Core/Batch/BatchBuilder.php Sets the options for redirect URLs.
BatchBuilderTest::testSetUrlOptions function core/tests/Drupal/Tests/Core/Batch/BatchBuilderTest.php Tests setUrlOptions().
BlockContentBlock::$urlGenerator property core/modules/block_content/src/Plugin/Block/BlockContentBlock.php The URL generator.
BlockDeleteForm::getCancelUrl function core/modules/block/src/Form/BlockDeleteForm.php
BlockEntitySettingTrayForm::getRedirectUrl function core/modules/settings_tray/src/Block/BlockEntitySettingTrayForm.php Gets the form's redirect URL from 'destination' provide in the request.
BookRemoveForm::getCancelUrl function core/modules/book/src/Form/BookRemoveForm.php Returns the route to go to if the user cancels the action.
BreakLockForm::getCancelUrl function core/modules/views_ui/src/Form/BreakLockForm.php Returns the route to go to if the user cancels the action.
BrowserHtmlDebugTrait::$htmlOutputBaseUrl property core/tests/Drupal/Tests/BrowserHtmlDebugTrait.php The Base URI to use for links to the output files.
BrowserTestBase::$baseUrl property core/tests/Drupal/Tests/BrowserTestBase.php The base URL.
BrowserTestBaseTest::testSimpleTestBaseUrlValidation function core/tests/Drupal/FunctionalTests/BrowserTestBaseTest.php Test if setting an invalid scheme in SIMPLETEST_BASE_URL throws an exception.
CacheTestController::urlBubbling function core/modules/system/tests/modules/cache_test/src/Controller/CacheTestController.php Early renders a URL to test bubbleable metadata bubbling.
CommentPermalinkFormatter::getEntityUrl function core/modules/comment/src/Plugin/Field/FieldFormatter/CommentPermalinkFormatter.php Gets the URI elements of the entity.
ComputedFileUrl class core/modules/file/src/ComputedFileUrl.php Computed file URL property class.
ComputedFileUrl.php file core/modules/file/src/ComputedFileUrl.php
ComputedFileUrl::$url property core/modules/file/src/ComputedFileUrl.php Computed root-relative file URL.
ComputedFileUrl::getValue function core/modules/file/src/ComputedFileUrl.php Gets the data value.
ComputedFileUrl::setValue function core/modules/file/src/ComputedFileUrl.php Sets the data value.
ComputedFileUrlTest class core/modules/file/tests/src/Kernel/ComputedFileUrlTest.php @coversDefaultClass \Drupal\file\ComputedFileUrl
ComputedFileUrlTest.php file core/modules/file/tests/src/Kernel/ComputedFileUrlTest.php
ComputedFileUrlTest::$testUrl property core/modules/file/tests/src/Kernel/ComputedFileUrlTest.php The test URL to use.
ComputedFileUrlTest::testGetValue function core/modules/file/tests/src/Kernel/ComputedFileUrlTest.php @covers ::getValue
ComputedFileUrlTest::testSetValue function core/modules/file/tests/src/Kernel/ComputedFileUrlTest.php @covers ::setValue
ComputedFileUrlTest::testSetValueNoNotify function core/modules/file/tests/src/Kernel/ComputedFileUrlTest.php @covers ::setValue
ConfigEntityBase::toUrl function core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php Gets the URL object for the entity.
ConfigNamesMapperTest::$urlGenerator property core/modules/config_translation/tests/src/Unit/ConfigNamesMapperTest.php The mocked URL generator.
ConfigSingleImportForm::getCancelUrl function core/modules/config/src/Form/ConfigSingleImportForm.php Returns the route to go to if the user cancels the action.
ConfigTranslationDeleteForm::getCancelUrl function core/modules/config_translation/src/Form/ConfigTranslationDeleteForm.php Returns the route to go to if the user cancels the action.
ConfigurableLanguageManagerTest::testUrlContentTranslationWithPreferredAdminLanguage function core/modules/language/tests/src/Functional/ConfigurableLanguageManagerTest.php Tests translation with URL and Preferred Admin Language negotiators.
ConfigurableLanguageManagerTest::testUrlContentTranslationWithSessionLanguage function core/modules/language/tests/src/Functional/ConfigurableLanguageManagerTest.php Tests translation with URL and Session Language Negotiators.
ConfirmDeleteMultiple::getCancelUrl function core/modules/comment/src/Form/ConfirmDeleteMultiple.php Returns the route to go to if the user cancels the action.
ConfirmFormArrayPathTestForm::getCancelUrl function core/modules/system/tests/modules/form_test/src/ConfirmFormArrayPathTestForm.php Returns the route to go to if the user cancels the action.
ConfirmFormHelperTest::testCancelLinkRouteWithUrl function core/tests/Drupal/Tests/Core/Form/ConfirmFormHelperTest.php Tests a cancel link route with a URL object.
ConfirmFormInterface::getCancelUrl function core/lib/Drupal/Core/Form/ConfirmFormInterface.php Returns the route to go to if the user cancels the action.
ConfirmFormTestForm::getCancelUrl function core/modules/system/tests/modules/form_test/src/ConfirmFormTestForm.php Returns the route to go to if the user cancels the action.

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