LinkFieldUITest |
class |
core/modules/link/tests/src/Functional/LinkFieldUITest.php |
Tests link field UI functionality. |
LinkFieldUITest.php |
file |
core/modules/link/tests/src/Functional/LinkFieldUITest.php |
|
LinkFieldUITest::$adminUser |
property |
core/modules/link/tests/src/Functional/LinkFieldUITest.php |
A user that can edit content types. |
LinkFieldUITest::$contentType |
property |
core/modules/link/tests/src/Functional/LinkFieldUITest.php |
The content type to add fields to. |
LinkFieldUITest::$defaultTheme |
property |
core/modules/link/tests/src/Functional/LinkFieldUITest.php |
The theme to install as the default for testing. |
LinkFieldUITest::$helpTextUser |
property |
core/modules/link/tests/src/Functional/LinkFieldUITest.php |
A user that should see the help texts. |
LinkFieldUITest::$modules |
property |
core/modules/link/tests/src/Functional/LinkFieldUITest.php |
Modules to install. |
LinkFieldUITest::assertFieldContainsRawText |
function |
core/modules/link/tests/src/Functional/LinkFieldUITest.php |
Checks that given field contains the given raw text. |
LinkFieldUITest::assertNoFieldContainsRawText |
function |
core/modules/link/tests/src/Functional/LinkFieldUITest.php |
Checks that given field does not contain the given raw text. |
LinkFieldUITest::getFieldHtml |
function |
core/modules/link/tests/src/Functional/LinkFieldUITest.php |
Returns the raw HTML for the given field. |
LinkFieldUITest::providerTestFieldUI |
function |
core/modules/link/tests/src/Functional/LinkFieldUITest.php |
Provides test data for ::testFieldUI(). |
LinkFieldUITest::runFieldUIItem |
function |
core/modules/link/tests/src/Functional/LinkFieldUITest.php |
Tests one link field UI item. |
LinkFieldUITest::setUp |
function |
core/modules/link/tests/src/Functional/LinkFieldUITest.php |
|
LinkFieldUITest::testFieldUI |
function |
core/modules/link/tests/src/Functional/LinkFieldUITest.php |
Tests the link field UI. |
LinkFieldWidgetTest |
class |
core/modules/link/tests/src/Kernel/LinkFieldWidgetTest.php |
Tests link field widgets. |
LinkFieldWidgetTest.php |
file |
core/modules/link/tests/src/Kernel/LinkFieldWidgetTest.php |
|
LinkFieldWidgetTest::$modules |
property |
core/modules/link/tests/src/Kernel/LinkFieldWidgetTest.php |
Modules to install. |
LinkFieldWidgetTest::testLinkTypeOnLinkWidget |
function |
core/modules/link/tests/src/Kernel/LinkFieldWidgetTest.php |
Tests '#link_type' property exists on 'link_default' widget. |
LinkFormatter |
class |
core/modules/link/src/Plugin/Field/FieldFormatter/LinkFormatter.php |
Plugin implementation of the 'link' formatter. |
LinkFormatter.php |
file |
core/modules/link/src/Plugin/Field/FieldFormatter/LinkFormatter.php |
|
LinkFormatter::$pathValidator |
property |
core/modules/link/src/Plugin/Field/FieldFormatter/LinkFormatter.php |
The path validator service. |
LinkFormatter::buildUrl |
function |
core/modules/link/src/Plugin/Field/FieldFormatter/LinkFormatter.php |
Builds the \Drupal\Core\Url object for a link field item. |
LinkFormatter::create |
function |
core/modules/link/src/Plugin/Field/FieldFormatter/LinkFormatter.php |
Creates an instance of the plugin. |
LinkFormatter::defaultSettings |
function |
core/modules/link/src/Plugin/Field/FieldFormatter/LinkFormatter.php |
Defines the default settings for this plugin. |
LinkFormatter::settingsForm |
function |
core/modules/link/src/Plugin/Field/FieldFormatter/LinkFormatter.php |
Returns a form to configure settings for the formatter. |
LinkFormatter::settingsSummary |
function |
core/modules/link/src/Plugin/Field/FieldFormatter/LinkFormatter.php |
Returns a short summary for the current formatter settings. |
LinkFormatter::viewElements |
function |
core/modules/link/src/Plugin/Field/FieldFormatter/LinkFormatter.php |
Builds a renderable array for a field value. |
LinkFormatter::__construct |
function |
core/modules/link/src/Plugin/Field/FieldFormatter/LinkFormatter.php |
Constructs a new LinkFormatter. |
LinkFormatterDisplayTest |
class |
core/modules/link/tests/src/Kernel/LinkFormatterDisplayTest.php |
Tests the default 'link' field formatter. |
LinkFormatterDisplayTest.php |
file |
core/modules/link/tests/src/Kernel/LinkFormatterDisplayTest.php |
|
LinkFormatterDisplayTest::$modules |
property |
core/modules/link/tests/src/Kernel/LinkFormatterDisplayTest.php |
Modules to install. |
LinkFormatterDisplayTest::getTestCases |
function |
core/modules/link/tests/src/Kernel/LinkFormatterDisplayTest.php |
|
LinkFormatterDisplayTest::setUp |
function |
core/modules/link/tests/src/Kernel/LinkFormatterDisplayTest.php |
Set the default field storage backend for fields created during tests. |
LinkFormatterDisplayTest::testLinkFormatter |
function |
core/modules/link/tests/src/Kernel/LinkFormatterDisplayTest.php |
Tests that links are rendered correctly. |
LinkFormatterTest |
class |
core/modules/link/tests/src/Unit/LinkFormatterTest.php |
Tests the Field Formatter for the link field type. |
LinkFormatterTest |
class |
core/modules/link/tests/src/Kernel/LinkFormatterTest.php |
Tests the Field Formatter for the link field type. |
LinkFormatterTest.php |
file |
core/modules/link/tests/src/Unit/LinkFormatterTest.php |
|
LinkFormatterTest.php |
file |
core/modules/link/tests/src/Kernel/LinkFormatterTest.php |
|
LinkFormatterTest::$bundle |
property |
core/modules/link/tests/src/Kernel/LinkFormatterTest.php |
The bundle used in this test. |
LinkFormatterTest::$entity |
property |
core/modules/link/tests/src/Kernel/LinkFormatterTest.php |
The entity to be tested. |
LinkFormatterTest::$entityType |
property |
core/modules/link/tests/src/Kernel/LinkFormatterTest.php |
The entity type used in this test. |
LinkFormatterTest::$fieldName |
property |
core/modules/link/tests/src/Kernel/LinkFormatterTest.php |
The name of the field used in this test. |
LinkFormatterTest::$modules |
property |
core/modules/link/tests/src/Kernel/LinkFormatterTest.php |
Modules to enable. |
LinkFormatterTest::providerLinkFormatter |
function |
core/modules/link/tests/src/Kernel/LinkFormatterTest.php |
Data provider for ::testLinkFormatter. |
LinkFormatterTest::setUp |
function |
core/modules/link/tests/src/Kernel/LinkFormatterTest.php |
|
LinkFormatterTest::testFormatterLinkItem |
function |
core/modules/link/tests/src/Unit/LinkFormatterTest.php |
Tests when LinkItem::getUrl returns a functional URL. |
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. |
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. |