Search for link

  1. Search 7.x for link
  2. Search 9.5.x for link
  3. Search 8.9.x for link
  4. Search 10.3.x for link
  5. Search 11.x for link
  6. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Link class core/modules/jsonapi/src/JsonApiResource/Link.php Represents an RFC8288 based link.
Link class core/lib/Drupal/Core/Render/Element/Link.php Provides a link render element.
Link class core/lib/Drupal/Core/Link.php Defines an object that holds information about a link.

All search results

Title Object type File name Summary
LinkFieldTest::doTestLinkTitle function core/modules/link/tests/src/Functional/LinkFieldTest.php Tests the link title settings of a link field.
LinkFieldTest::doTestURLValidation function core/modules/link/tests/src/Functional/LinkFieldTest.php Tests link field URL validation.
LinkFieldTest::renderTestEntity function core/modules/link/tests/src/Functional/LinkFieldTest.php Renders a test_entity and returns the output.
LinkFieldTest::setUp function core/modules/link/tests/src/Unit/Plugin/migrate/field/d6/LinkFieldTest.php
LinkFieldTest::setUp function core/modules/link/tests/src/Kernel/Plugin/migrate/field/d7/LinkFieldTest.php
LinkFieldTest::setUp function core/modules/link/tests/src/Functional/LinkFieldTest.php
LinkFieldTest::testAlterFieldInstanceMigration function core/modules/link/tests/src/Kernel/Plugin/migrate/field/d7/LinkFieldTest.php Tests alter field instance migration.
LinkFieldTest::testDefineValueProcessPipeline function core/modules/link/tests/src/Unit/Plugin/migrate/field/d6/LinkFieldTest.php Tests define value process pipeline.
LinkFieldTest::testLinkField function core/modules/link/tests/src/Functional/LinkFieldTest.php Tests the functionality and rendering of the link field.
LinkFieldTest::testLinkWidgetCaughtExceptionEditingInvalidUrl function core/modules/link/tests/src/Functional/LinkFieldTest.php Test link widget exception handled if link uri value is invalid.
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
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
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
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::defaultSettings function core/modules/link/src/Plugin/Field/FieldFormatter/LinkFormatter.php
LinkFormatter::settingsForm function core/modules/link/src/Plugin/Field/FieldFormatter/LinkFormatter.php
LinkFormatter::settingsSummary function core/modules/link/src/Plugin/Field/FieldFormatter/LinkFormatter.php
LinkFormatter::viewElements function core/modules/link/src/Plugin/Field/FieldFormatter/LinkFormatter.php @phpstan-param \Drupal\Core\Field\FieldItemListInterface<\Drupal\link\LinkItemInterface> $items
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
LinkFormatterDisplayTest::getTestCases function core/modules/link/tests/src/Kernel/LinkFormatterDisplayTest.php
LinkFormatterDisplayTest::setUp function core/modules/link/tests/src/Kernel/LinkFormatterDisplayTest.php
LinkFormatterDisplayTest::testLinkFormatter function core/modules/link/tests/src/Kernel/LinkFormatterDisplayTest.php Tests that links are rendered correctly.
LinkFormatterDisplayTest::testNullLinkOptions function core/modules/link/tests/src/Kernel/LinkFormatterDisplayTest.php Tests that links with NULL options 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.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.