You are here

function StringFieldTest::testTextfieldWidgets in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/field/src/Tests/String/StringFieldTest.php \Drupal\field\Tests\String\StringFieldTest::testTextfieldWidgets()

Test widgets.

1 method overrides StringFieldTest::testTextfieldWidgets()
TextFieldTest::testTextfieldWidgets in core/modules/text/src/Tests/TextFieldTest.php
Test widgets.

File

core/modules/field/src/Tests/String/StringFieldTest.php, line 46
Contains \Drupal\field\Tests\String\StringFieldTest.

Class

StringFieldTest
Tests the creation of string fields.

Namespace

Drupal\field\Tests\String

Code

function testTextfieldWidgets() {
  $this
    ->_testTextfieldWidgets('string', 'string_textfield');
  $this
    ->_testTextfieldWidgets('string_long', 'string_textarea');
}