function StringFieldTest::testTextfieldWidgets
Same name in other branches
- 9 core/modules/field/tests/src/Functional/String/StringFieldTest.php \Drupal\Tests\field\Functional\String\StringFieldTest::testTextfieldWidgets()
- 10 core/modules/field/tests/src/Functional/FunctionalString/StringFieldTest.php \Drupal\Tests\field\Functional\FunctionalString\StringFieldTest::testTextfieldWidgets()
- 11.x core/modules/field/tests/src/Functional/FunctionalString/StringFieldTest.php \Drupal\Tests\field\Functional\FunctionalString\StringFieldTest::testTextfieldWidgets()
Test widgets.
1 method overrides StringFieldTest::testTextfieldWidgets()
- TextFieldTest::testTextfieldWidgets in core/
modules/ text/ tests/ src/ Functional/ TextFieldTest.php - Test 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');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.