Search for %s
- Search 7.x for %s
- Search 9.5.x for %s
- Search 8.9.x for %s
- Search 10.3.x for %s
- Search 11.x for %s
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| LinkFormatter::viewElements | function | core/ |
@phpstan-param \Drupal\Core\Field\FieldItemListInterface<\Drupal\link\LinkItemInterface> $items |
| LinkFormatter::__construct | function | core/ |
Constructs a new LinkFormatter. |
| LinkFormatterDisplayTest | class | core/ |
Tests the default 'link' field formatter. |
| LinkFormatterDisplayTest.php | file | core/ |
|
| LinkFormatterDisplayTest::$modules | property | core/ |
Modules to install. |
| LinkFormatterDisplayTest::getTestCases | function | core/ |
|
| LinkFormatterDisplayTest::setUp | function | core/ |
Set the default field storage backend for fields created during tests. |
| LinkFormatterDisplayTest::testLinkFormatter | function | core/ |
Tests that links are rendered correctly. |
| LinkFormatterDisplayTest::testNullLinkOptions | function | core/ |
Tests that links with NULL options are rendered correctly. |
| LinkFormatterTest | class | core/ |
Tests the Field Formatter for the link field type. |
| LinkFormatterTest | class | core/ |
Tests the Field Formatter for the link field type. |
| LinkFormatterTest.php | file | core/ |
|
| LinkFormatterTest.php | file | core/ |
|
| LinkFormatterTest::$bundle | property | core/ |
The bundle used in this test. |
| LinkFormatterTest::$entity | property | core/ |
The entity to be tested. |
| LinkFormatterTest::$entityType | property | core/ |
The entity type used in this test. |
| LinkFormatterTest::$fieldName | property | core/ |
The name of the field used in this test. |
| LinkFormatterTest::$modules | property | core/ |
Modules to install. |
| LinkFormatterTest::providerLinkFormatter | function | core/ |
Data provider for ::testLinkFormatter. |
| LinkFormatterTest::setUp | function | core/ |
|
| LinkFormatterTest::testFormatterLinkItem | function | core/ |
Tests when LinkItem::getUrl returns a functional URL. |
| LinkFormatterTest::testFormatterLinkItemUrlMalformed | function | core/ |
Tests when LinkItem::getUrl with malformed URL renders empty link. |
| LinkFormatterTest::testFormatterLinkItemUrlUnexpectedException | function | core/ |
Tests when LinkItem::getUrl throws an unexpected exception. |
| LinkFormatterTest::testLinkFormatter | function | core/ |
Tests the link formatters. |
| LinkGenerationTest | class | core/ |
Tests link generation with hooks. |
| LinkGenerationTest.php | file | core/ |
|
| LinkGenerationTest::linkAlter | function | core/ |
Implements hook_link_alter(). |
| LinkGenerationTest::testHookLinkAlter | function | core/ |
Tests how hook_link_alter() can affect escaping of the link text. |
| LinkGenerationTestHooks | class | core/ |
Hook implementations for link_generation_test. |
| LinkGenerationTestHooks.php | file | core/ |
|
| LinkGenerationTestHooks::linkAlter | function | core/ |
Implements hook_link_alter(). |
| LinkGenerator::__construct | function | core/ |
Constructs a LinkGenerator instance. |
| LinkGeneratorTest | class | core/ |
Tests Drupal\Core\Utility\LinkGenerator. |
| LinkGeneratorTest.php | file | core/ |
|
| LinkGeneratorTest::$defaultOptions | property | core/ |
Contains the LinkGenerator default options. |
| LinkGeneratorTest::$linkGenerator | property | core/ |
The tested link generator. |
| LinkGeneratorTest::$moduleHandler | property | core/ |
The module handler. |
| LinkGeneratorTest::$urlGenerator | property | core/ |
The URL generator. |
| LinkGeneratorTest::assertLink | function | core/ |
Checks that a link with certain properties exists in a given HTML snippet. |
| LinkGeneratorTest::assertNoXPathResults | function | core/ |
Checks that the given XPath query has no results in a given HTML snippet. |
| LinkGeneratorTest::providerTestGenerateHrefs | function | core/ |
Provides test data for testing the link method. |
| LinkGeneratorTest::setUp | function | core/ |
|
| LinkGeneratorTest::setUpMockModuleHandler | function | core/ |
Reinitializes the module handler as a mock object. |
| LinkGeneratorTest::setUpMockUrlGenerator | function | core/ |
Reinitializes the URL generator as a mock object. |
| LinkGeneratorTest::testGenerate | function | core/ |
Tests the generate() method with a route. |
| LinkGeneratorTest::testGenerateActive | function | core/ |
Tests the active class on the link method. |
| LinkGeneratorTest::testGenerateAttributes | function | core/ |
Tests the link method with additional attributes. |
| LinkGeneratorTest::testGenerateBubbleableMetadata | function | core/ |
Tests the LinkGenerator's support for collecting bubbleable metadata. |
| LinkGeneratorTest::testGenerateButton | function | core/ |
Tests the generate() method with the <button> route. |
| LinkGeneratorTest::testGenerateExternal | function | core/ |
Tests the generate() method with an external URL. |
Pagination
- Previous page
- Page 807
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.