function LinkFieldTest::testLinkField

Same name in other branches
  1. 9 core/modules/link/tests/src/Functional/LinkFieldTest.php \Drupal\Tests\link\Functional\LinkFieldTest::testLinkField()
  2. 10 core/modules/link/tests/src/Functional/LinkFieldTest.php \Drupal\Tests\link\Functional\LinkFieldTest::testLinkField()

Tests the functionality and rendering of the link field.

This is being as one to avoid multiple Drupal install.

File

core/modules/link/tests/src/Functional/LinkFieldTest.php, line 77

Class

LinkFieldTest
Tests link field widgets and formatters.

Namespace

Drupal\Tests\link\Functional

Code

public function testLinkField() : void {
    $this->doTestURLValidation();
    $this->doTestLinkTitle();
    $this->doTestLinkFormatter();
    $this->doTestLinkSeparateFormatter();
    $this->doTestEditNonNodeEntityLink();
    $this->doTestLinkTypeOnLinkWidget();
}

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