public function StringFieldTest::testTextfieldWidgets in Drupal 9
Same name and namespace in other branches
- 8 core/modules/field/tests/src/Functional/String/StringFieldTest.php \Drupal\Tests\field\Functional\String\StringFieldTest::testTextfieldWidgets()
- 10 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\StringCode
public function testTextfieldWidgets() {
$this
->_testTextfieldWidgets('string', 'string_textfield');
$this
->_testTextfieldWidgets('string_long', 'string_textarea');
}