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
LayoutRebuildConfirmFormBase::getCancelUrl function core/modules/layout_builder/src/Form/LayoutRebuildConfirmFormBase.php Returns the route to go to if the user cancels the action.
LayoutSectionTest::testLayoutUrlNoSectionField function core/modules/layout_builder/tests/src/Functional/LayoutSectionTest.php Tests that no Layout link shows without a section field.
Link::$url property core/lib/Drupal/Core/Link.php The URL of the link.
Link::fromTextAndUrl function core/lib/Drupal/Core/Link.php Creates a Link object from a given Url object.
Link::getUrl function core/lib/Drupal/Core/Link.php Returns the URL of the link.
Link::setUrl function core/lib/Drupal/Core/Link.php Sets the URL of this link.
LinkApprove::getUrlInfo function core/modules/comment/src/Plugin/views/field/LinkApprove.php Returns the URI elements of the link.
LinkBase::checkUrlAccess function core/modules/views/src/Plugin/views/field/LinkBase.php Checks access to the link route.
LinkBase::getUrlInfo function core/modules/views/src/Plugin/views/field/LinkBase.php Returns the URI elements of the link.
LinkExternalProtocolsConstraintValidatorTest::testValidateIgnoresInternalUrls function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkExternalProtocolsConstraintValidatorTest.php @covers ::validate
LinkFieldTest::doTestURLValidation function core/modules/link/tests/src/Functional/LinkFieldTest.php Tests link field URL validation.
LinkFieldTest::getUrlWithComplexQuery function core/modules/link/tests/src/Functional/LinkFieldTest.php Get array of url with complex query parameters for render check.
LinkFieldTest::getUrlWithComplexQueryInputList function core/modules/link/tests/src/Functional/LinkFieldTest.php Get list of url with complex query parameters for input check.
LinkFieldTest::testLinkWidgetCaughtExceptionEditingInvalidUrl function core/modules/link/tests/src/Functional/LinkFieldTest.php Test link widget exception handled if link uri value is invalid.
LinkFormatter::buildUrl function core/modules/link/src/Plugin/Field/FieldFormatter/LinkFormatter.php Builds the \Drupal\Core\Url object for a link field item.
LinkFormatterTest::testFormatterLinkItemUrlMalformed function core/modules/link/tests/src/Unit/LinkFormatterTest.php Tests when LinkItem::getUrl with malformed URL renders empty link.
LinkFormatterTest::testFormatterLinkItemUrlUnexpectedException function core/modules/link/tests/src/Unit/LinkFormatterTest.php Tests when LinkItem::getUrl throws an unexpected exception.
LinkGenerator::$urlGenerator property core/lib/Drupal/Core/Utility/LinkGenerator.php The URL generator.
LinkGeneratorTest::$urlAssembler property core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php The mocked URL Assembler service.
LinkGeneratorTest::$urlGenerator property core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php The mocked URL generator.
LinkGeneratorTest::testGenerateUrlWithQuotes function core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php Tests the generate() method with a URL containing double quotes.
LinkItem::getUrl function core/modules/link/src/Plugin/Field/FieldType/LinkItem.php Gets the URL object.
LinkItemInterface::getUrl function core/modules/link/src/LinkItemInterface.php Gets the URL object.
LinkItemUrlValidationTest class core/modules/link/tests/src/Kernel/LinkItemUrlValidationTest.php Tests link field validation.
LinkItemUrlValidationTest.php file core/modules/link/tests/src/Kernel/LinkItemUrlValidationTest.php
LinkItemUrlValidationTest::$modules property core/modules/link/tests/src/Kernel/LinkItemUrlValidationTest.php Modules to install.
LinkItemUrlValidationTest::getTestLinks function core/modules/link/tests/src/Kernel/LinkItemUrlValidationTest.php Builds an array of links to test.
LinkItemUrlValidationTest::testExternalLinkValidation function core/modules/link/tests/src/Kernel/LinkItemUrlValidationTest.php Tests link validation.
LinkReply::getUrlInfo function core/modules/comment/src/Plugin/views/field/LinkReply.php Returns the URI elements of the link.
LinkTest::mockUrlAssembler function core/modules/jsonapi/tests/src/Unit/JsonApiResource/LinkTest.php Mocks the unrouted URL assembler.
LocalStream::url_stat function core/lib/Drupal/Core/StreamWrapper/LocalStream.php Retrieve information about a file.
LocalTasksTest::assertSameLocalTaskUrl function core/modules/system/tests/src/Functional/Menu/LocalTasksTest.php Asserts that the local task URL matches the expected alias.
LocalTasksTest::testLocalTaskBlockUrl function core/modules/system/tests/src/Functional/Menu/LocalTasksTest.php Tests local task block URLs for entities with path aliases.
MailFormatHelper::$urls property core/lib/Drupal/Core/Mail/MailFormatHelper.php Internal array of URLs replaced with tokens.
MailFormatHelper::htmlToMailUrls function core/lib/Drupal/Core/Mail/MailFormatHelper.php Keeps track of URLs and replaces them with placeholder tokens.
MailTest::testConvertRelativeUrlsIntoAbsolute function core/modules/system/tests/src/Kernel/Mail/MailTest.php Checks that relative paths in mails are converted into absolute URLs.
MaintenanceModeSubscriber::$urlGenerator property core/lib/Drupal/Core/EventSubscriber/MaintenanceModeSubscriber.php The URL generator.
ManageFieldsFunctionalTest::testInvalidUrlsAndDestinations function core/modules/field_ui/tests/src/Functional/ManageFieldsFunctionalTest.php Tests invalid field UI URLs and destinations.
media.oembed.iframe_url_helper service core/modules/media/media.services.yml Drupal\media\IFrameUrlHelper
media.oembed.url_resolver service core/modules/media/media.services.yml Drupal\media\OEmbed\UrlResolver
MediaSettingsForm::$iFrameUrlHelper property core/modules/media/src/Form/MediaSettingsForm.php The iFrame URL helper service.
MediaThumbnailFormatter::getMediaThumbnailUrl function core/modules/media/src/Plugin/Field/FieldFormatter/MediaThumbnailFormatter.php Get the URL for the media thumbnail.
media_test_oembed_oembed_resource_url_alter function core/modules/media/tests/modules/media_test_oembed/media_test_oembed.module Implements hook_oembed_resource_url_alter().
MenuLinkBase::getUrlObject function core/lib/Drupal/Core/Menu/MenuLinkBase.php Returns a URL object containing either the external path or route.
MenuLinkContent::getUrlObject function core/modules/menu_link_content/src/Entity/MenuLinkContent.php Gets the URL object pointing to the URL of the menu link content entity.
MenuLinkContentDeleteForm::getCancelUrl function core/modules/menu_link_content/src/Form/MenuLinkContentDeleteForm.php Returns the route to go to if the user cancels the action.
MenuLinkContentDeleteForm::getRedirectUrl function core/modules/menu_link_content/src/Form/MenuLinkContentDeleteForm.php Returns the URL where the user should be redirected after deletion.
MenuLinkContentInterface::getUrlObject function core/modules/menu_link_content/src/MenuLinkContentInterface.php Gets the URL object pointing to the URL of the menu link content entity.
MenuLinkInterface::getUrlObject function core/lib/Drupal/Core/Menu/MenuLinkInterface.php Returns a URL object containing either the external path or route.
MenuLinkResetForm::getCancelUrl function core/modules/menu_ui/src/Form/MenuLinkResetForm.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.