function LinkFieldUITest::testFieldUI

Same name in other branches
  1. 9 core/modules/link/tests/src/Functional/LinkFieldUITest.php \Drupal\Tests\link\Functional\LinkFieldUITest::testFieldUI()
  2. 8.9.x core/modules/link/tests/src/Functional/LinkFieldUITest.php \Drupal\Tests\link\Functional\LinkFieldUITest::testFieldUI()
  3. 11.x core/modules/link/tests/src/Functional/LinkFieldUITest.php \Drupal\Tests\link\Functional\LinkFieldUITest::testFieldUI()

Tests the link field UI.

File

core/modules/link/tests/src/Functional/LinkFieldUITest.php, line 75

Class

LinkFieldUITest
Tests link field UI functionality.

Namespace

Drupal\Tests\link\Functional

Code

public function testFieldUI() : void {
    foreach ($this->providerTestFieldUI() as $item) {
        [
            $cardinality,
            $link_type,
            $title,
            $label,
            $field_name,
            $default_uri,
        ] = $item;
        $this->runFieldUIItem($cardinality, $link_type, $title, $label, $field_name, $default_uri);
    }
}

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