LanguageNegotiationUrlTest::testNeutralLanguages |
function |
core/modules/language/tests/src/Unit/LanguageNegotiationUrlTest.php |
Tests outbound path processing for neutral languages. |
LanguageNegotiationUrlTest::testPathPrefix |
function |
core/modules/language/tests/src/Unit/LanguageNegotiationUrlTest.php |
Tests path prefix language negotiation and outbound path processing. |
LanguageNegotiationUrlTest::testProcessOutboundOutputsRelativePathsForSameDomain |
function |
core/modules/language/tests/src/Unit/LanguageNegotiationUrlTest.php |
Tests path outbound processing correctly setting relative/absolute paths. |
LanguageUILanguageNegotiationTest::testUrlLanguageFallback |
function |
core/modules/language/tests/src/Functional/LanguageUILanguageNegotiationTest.php |
Tests URL language detection when the requested URL has no language. |
LanguageUrlRewritingTest |
class |
core/modules/language/tests/src/Functional/LanguageUrlRewritingTest.php |
Tests that URL rewriting works as expected. |
LanguageUrlRewritingTest.php |
file |
core/modules/language/tests/src/Functional/LanguageUrlRewritingTest.php |
|
LanguageUrlRewritingTest::$defaultTheme |
property |
core/modules/language/tests/src/Functional/LanguageUrlRewritingTest.php |
The theme to install as the default for testing. |
LanguageUrlRewritingTest::$modules |
property |
core/modules/language/tests/src/Functional/LanguageUrlRewritingTest.php |
Modules to install. |
LanguageUrlRewritingTest::$webUser |
property |
core/modules/language/tests/src/Functional/LanguageUrlRewritingTest.php |
A user with permissions to administer languages. |
LanguageUrlRewritingTest::checkUrl |
function |
core/modules/language/tests/src/Functional/LanguageUrlRewritingTest.php |
Check URL rewriting for the given language. |
LanguageUrlRewritingTest::setUp |
function |
core/modules/language/tests/src/Functional/LanguageUrlRewritingTest.php |
|
LanguageUrlRewritingTest::testDomainNameNegotiationPort |
function |
core/modules/language/tests/src/Functional/LanguageUrlRewritingTest.php |
Check URL rewriting when using a domain name and a non-standard port. |
LanguageUrlRewritingTest::testUrlRewritingEdgeCases |
function |
core/modules/language/tests/src/Functional/LanguageUrlRewritingTest.php |
Check that non-installed languages are not considered. |
language_negotiation_url_prefixes_update |
function |
core/modules/language/language.module |
Update the list of prefixes from the installed languages. |
LayoutBuilderDisableForm::getCancelUrl |
function |
core/modules/layout_builder/src/Form/LayoutBuilderDisableForm.php |
Returns the route to go to if the user cancels the action. |
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[[api-linebreak]] |
LinkFieldTest::doTestURLValidation |
function |
core/modules/link/tests/src/Functional/LinkFieldTest.php |
Tests link field URL validation. |
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. |