You are here

public function StringFieldTest::testTextfieldWidgets in Drupal 10

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

Tests widgets.

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

File

core/modules/field/tests/src/Functional/String/StringFieldTest.php, line 53

Class

StringFieldTest
Tests the creation of string fields.

Namespace

Drupal\Tests\field\Functional\String

Code

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