You are here

public function TextFieldTest::testTextfieldWidgetsFormatted in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/text/tests/src/Functional/TextFieldTest.php \Drupal\Tests\text\Functional\TextFieldTest::testTextfieldWidgetsFormatted()
  2. 10 core/modules/text/tests/src/Functional/TextFieldTest.php \Drupal\Tests\text\Functional\TextFieldTest::testTextfieldWidgetsFormatted()

Tests widgets + 'formatted_text' setting.

File

core/modules/text/tests/src/Functional/TextFieldTest.php, line 152

Class

TextFieldTest
Tests the creation of text fields.

Namespace

Drupal\Tests\text\Functional

Code

public function testTextfieldWidgetsFormatted() {
  $this
    ->_testTextfieldWidgetsFormatted('text', 'text_textfield');
  $this
    ->_testTextfieldWidgetsFormatted('text_long', 'text_textarea');
}