| LinkFormatterTest::testLinkFormatter |
function |
core/modules/link/tests/src/Kernel/LinkFormatterTest.php |
Tests the link formatters. |
| LinkGenerationTest |
class |
core/tests/Drupal/KernelTests/Core/Url/LinkGenerationTest.php |
Tests link generation with hooks. |
| LinkGenerationTest.php |
file |
core/tests/Drupal/KernelTests/Core/Url/LinkGenerationTest.php |
|
| LinkGenerationTest::linkAlter |
function |
core/tests/Drupal/KernelTests/Core/Url/LinkGenerationTest.php |
Implements hook_link_alter(). |
| LinkGenerationTest::testHookLinkAlter |
function |
core/tests/Drupal/KernelTests/Core/Url/LinkGenerationTest.php |
Tests how hook_link_alter() can affect escaping of the link text. |
| LinkGenerationTestHooks |
class |
core/modules/system/tests/modules/link_generation_test/src/Hook/LinkGenerationTestHooks.php |
Hook implementations for link_generation_test. |
| LinkGenerationTestHooks.php |
file |
core/modules/system/tests/modules/link_generation_test/src/Hook/LinkGenerationTestHooks.php |
|
| LinkGenerationTestHooks::linkAlter |
function |
core/modules/system/tests/modules/link_generation_test/src/Hook/LinkGenerationTestHooks.php |
Implements hook_link_alter(). |
| LinkGeneratorTest |
class |
core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php |
Tests Drupal\Core\Utility\LinkGenerator. |
| LinkGeneratorTest.php |
file |
core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php |
|
| LinkGeneratorTest::$defaultOptions |
property |
core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php |
Contains the LinkGenerator default options. |
| LinkGeneratorTest::$linkGenerator |
property |
core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php |
The tested link generator. |
| LinkGeneratorTest::$moduleHandler |
property |
core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php |
The mocked module handler. |
| LinkGeneratorTest::$renderer |
property |
core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php |
The mocked renderer service. |
| 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::assertLink |
function |
core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php |
Checks that a link with certain properties exists in a given HTML snippet. |
| LinkGeneratorTest::assertNoXPathResults |
function |
core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php |
Checks that the given XPath query has no results in a given HTML snippet. |
| LinkGeneratorTest::providerTestGenerateHrefs |
function |
core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php |
Provides test data for testing the link method. |
| LinkGeneratorTest::setUp |
function |
core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php |
|
| LinkGeneratorTest::testGenerate |
function |
core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php |
Tests the generate() method with a route. |
| LinkGeneratorTest::testGenerateActive |
function |
core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php |
Tests the active class on the link method. |
| LinkGeneratorTest::testGenerateAttributes |
function |
core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php |
Tests the link method with additional attributes. |
| LinkGeneratorTest::testGenerateBubbleableMetadata |
function |
core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php |
Tests the LinkGenerator's support for collecting bubbleable metadata. |
| LinkGeneratorTest::testGenerateButton |
function |
core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php |
Tests the generate() method with the <button> route. |
| LinkGeneratorTest::testGenerateExternal |
function |
core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php |
Tests the generate() method with an external URL. |
| LinkGeneratorTest::testGenerateHrefs |
function |
core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php |
Tests the link method with certain hrefs. |
| LinkGeneratorTest::testGenerateNoLink |
function |
core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php |
Tests the generate() method with the <nolink> route. |
| LinkGeneratorTest::testGenerateNone |
function |
core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php |
Tests the generate() method with the <none> route. |
| LinkGeneratorTest::testGenerateOptions |
function |
core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php |
Tests the link method with arbitrary passed options. |
| LinkGeneratorTest::testGenerateParametersAsQuery |
function |
core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php |
Tests the link method with passed query options via parameters. |
| LinkGeneratorTest::testGenerateQuery |
function |
core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php |
Tests the link method with passed query options. |
| LinkGeneratorTest::testGenerateTwice |
function |
core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php |
Tests whether rendering the same link twice works. |
| LinkGeneratorTest::testGenerateUrlWithQuotes |
function |
core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php |
Tests the generate() method with a URL containing double quotes. |
| LinkGeneratorTest::testGenerateWithAlterHook |
function |
core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php |
Tests altering the URL object using hook_link_alter(). |
| LinkGeneratorTest::testGenerateWithHtml |
function |
core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php |
Tests the link method with html. |
| LinkGeneratorTest::testGenerateXss |
function |
core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php |
Tests the link method with a script tab. |
| LinkItemSerializationTest |
class |
core/modules/link/tests/src/Kernel/LinkItemSerializationTest.php |
Tests link field serialization. |
| LinkItemSerializationTest.php |
file |
core/modules/link/tests/src/Kernel/LinkItemSerializationTest.php |
|
| LinkItemSerializationTest::$modules |
property |
core/modules/link/tests/src/Kernel/LinkItemSerializationTest.php |
Modules to install. |
| LinkItemSerializationTest::$serializer |
property |
core/modules/link/tests/src/Kernel/LinkItemSerializationTest.php |
The serializer service. |
| LinkItemSerializationTest::setUp |
function |
core/modules/link/tests/src/Kernel/LinkItemSerializationTest.php |
Set the default field storage backend for fields created during tests. |
| LinkItemSerializationTest::testLinkDeserialization |
function |
core/modules/link/tests/src/Kernel/LinkItemSerializationTest.php |
Tests the deserialization. |
| LinkItemSerializationTest::testLinkSerialization |
function |
core/modules/link/tests/src/Kernel/LinkItemSerializationTest.php |
Tests the serialization. |
| LinkItemTest |
class |
core/modules/link/tests/src/Kernel/LinkItemTest.php |
Tests the new entity API for the link field type. |
| LinkItemTest.php |
file |
core/modules/link/tests/src/Kernel/LinkItemTest.php |
|
| LinkItemTest::$modules |
property |
core/modules/link/tests/src/Kernel/LinkItemTest.php |
Modules to install. |
| LinkItemTest::setUp |
function |
core/modules/link/tests/src/Kernel/LinkItemTest.php |
Set the default field storage backend for fields created during tests. |
| LinkItemTest::testLinkItem |
function |
core/modules/link/tests/src/Kernel/LinkItemTest.php |
Tests using entity fields of the link field type. |
| LinkItemUrlValidationTest |
class |
core/modules/link/tests/src/Kernel/LinkItemUrlValidationTest.php |
Tests link field validation. |