You are here

function TextFieldTest::testTextfieldWidgetsFormatted in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/text/src/Tests/TextFieldTest.php \Drupal\text\Tests\TextFieldTest::testTextfieldWidgetsFormatted()

Test widgets + 'formatted_text' setting.

File

core/modules/text/src/Tests/TextFieldTest.php, line 140
Contains \Drupal\text\Tests\TextFieldTest.

Class

TextFieldTest
Tests the creation of text fields.

Namespace

Drupal\text\Tests

Code

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