Search for link
Exact matches
Title | Object type | File name | Summary |
---|---|---|---|
Link | class | core/ |
Represents an RFC8288 based link. |
Link | class | core/ |
Provides a link render element. |
Link | class | core/ |
Defines an object that holds information about a link. |
All search results
Title | Object type | File name | Summary |
---|---|---|---|
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. |
LinkFieldWidgetTest | class | core/ |
Tests link field widgets. |
LinkFieldWidgetTest.php | file | core/ |
|
LinkFieldWidgetTest::$modules | property | core/ |
Modules to install. |
LinkFieldWidgetTest::testLinkTypeOnLinkWidget | function | core/ |
Tests '#link_type' property exists on 'link_default' widget. |
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. |
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. |
LinkFormatterTest | class | core/ |
Tests the Field Formatter for the link field type. |
LinkFormatterTest.php | file | 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. |
LinkGenerationTest | class | core/ |
Tests link generation with hooks. |
LinkGenerationTest.php | file | core/ |
|
LinkGenerationTest::$modules | property | core/ |
Modules to install. |
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 | 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::__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. |
LinkGeneratorTest | class | core/ |
@coversDefaultClass \Drupal\Core\Utility\LinkGenerator @group Utility |
Pagination
- Previous page
- Page 21
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.