Search for all
- Search 7.x for all
- Search 9.5.x for all
- Search 10.3.x for all
- Search 11.x for all
- Search main for all
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| LinkFieldTest::testLinkFormatter | function | core/ |
Tests the default 'link' formatter. |
| LinkFieldTest::testLinkSeparateFormatter | function | core/ |
Tests the 'link_separate' formatter. |
| LinkFieldTest::testLinkTitle | function | core/ |
Tests the link title settings of a link field. |
| LinkFieldTest::testLinkTypeOnLinkWidget | function | core/ |
Test '#link_type' property exists on 'link_default' widget. |
| LinkFieldTest::testNoLinkUri | function | core/ |
Test <nolink> and <none> as link uri. |
| LinkFieldTest::testURLValidation | function | core/ |
Tests link field URL validation. |
| LinkFieldUITest | class | core/ |
Tests link field UI functionality. |
| LinkFieldUITest.php | file | core/ |
|
| LinkFieldUITest::$adminUser | property | core/ |
A user that can edit content types. |
| LinkFieldUITest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| LinkFieldUITest::$firstContentType | property | core/ |
The first content type to add fields to. |
| LinkFieldUITest::$helpTextUser | property | core/ |
A user that should see the help texts. |
| LinkFieldUITest::$modules | property | core/ |
Modules to enable. |
| LinkFieldUITest::$secondContentType | property | core/ |
The second content type to add fields to. |
| LinkFieldUITest::assertFieldContainsRawText | function | core/ |
Checks that given field contains the given raw text. |
| LinkFieldUITest::assertNoFieldContainsRawText | function | core/ |
Checks that given field does not contain the given raw text. |
| LinkFieldUITest::getFieldHtml | function | core/ |
Returns the raw HTML for the given field. |
| LinkFieldUITest::providerTestFieldUI | function | core/ |
Provides test data for ::testFieldUI(). |
| LinkFieldUITest::runFieldUIItem | function | core/ |
Tests one link field UI item. |
| LinkFieldUITest::setUp | function | core/ |
|
| LinkFieldUITest::testFieldUI | function | core/ |
Tests the link field UI. |
| LinkFormatter | class | core/ |
Plugin implementation of the 'link' formatter. |
| LinkFormatter.php | file | core/ |
|
| LinkFormatter::$pathValidator | property | core/ |
The path validator service. |
| LinkFormatter::buildUrl | function | core/ |
Builds the \Drupal\Core\Url object for a link field item. |
| LinkFormatter::create | function | core/ |
Creates an instance of the plugin. |
| LinkFormatter::defaultSettings | function | core/ |
Defines the default settings for this plugin. |
| LinkFormatter::settingsForm | function | core/ |
Returns a form to configure settings for the formatter. |
| LinkFormatter::settingsSummary | function | core/ |
Returns a short summary for the current formatter settings. |
| LinkFormatter::viewElements | function | core/ |
Builds a renderable array for a field value. |
| LinkFormatter::__construct | function | core/ |
Constructs a new LinkFormatter. |
| LinkGenerationTest | class | core/ |
Tests link generation with hooks. |
| LinkGenerationTest.php | file | core/ |
|
| LinkGenerationTest::$modules | property | core/ |
Modules to enable. |
| LinkGenerationTest::testHookLinkAlter | function | core/ |
Tests how hook_link_alter() can affect escaping of the link text. |
| LinkGenerator | class | core/ |
Provides a class which generates a link with route names and parameters. |
| LinkGenerator.php | file | core/ |
|
| LinkGenerator::$moduleHandler | property | core/ |
The module handler firing the route_link alter hook. |
| LinkGenerator::$renderer | property | core/ |
The renderer service. |
| LinkGenerator::$urlGenerator | property | core/ |
The url generator. |
| LinkGenerator::doGenerate | function | core/ |
Generates the link. |
| LinkGenerator::generate | function | core/ |
For anonymous users, the "active" class will be calculated on the server, because most sites serve each anonymous user the same cached page anyway. For authenticated users, the "active" class will be calculated on the client… |
| LinkGenerator::generateFromLink | function | core/ |
Renders a link from a link object. |
| LinkGenerator::__construct | function | core/ |
Constructs a LinkGenerator instance. |
| LinkGeneratorInterface | interface | core/ |
Defines an interface for generating links from route names and parameters. |
| LinkGeneratorInterface.php | file | core/ |
|
| LinkGeneratorInterface::generate | function | core/ |
Renders a link to a URL. |
| LinkGeneratorInterface::generateFromLink | function | core/ |
Renders a link from a link object. |
| LinkGeneratorTest | class | core/ |
@coversDefaultClass \Drupal\Core\Utility\LinkGenerator[[api-linebreak]] @group Utility |
| LinkGeneratorTest.php | file | core/ |
Pagination
- Previous page
- Page 866
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.