public function TextFieldTest::testTextfieldWidgets in Drupal 10
Same name and namespace in other branches
- 8 core/modules/text/tests/src/Functional/TextFieldTest.php \Drupal\Tests\text\Functional\TextFieldTest::testTextfieldWidgets()
- 9 core/modules/text/tests/src/Functional/TextFieldTest.php \Drupal\Tests\text\Functional\TextFieldTest::testTextfieldWidgets()
Tests widgets.
Overrides StringFieldTest::testTextfieldWidgets
File
- core/
modules/ text/ tests/ src/ Functional/ TextFieldTest.php, line 144
Class
- TextFieldTest
- Tests the creation of text fields.
Namespace
Drupal\Tests\text\FunctionalCode
public function testTextfieldWidgets() {
$this
->_testTextfieldWidgets('text', 'text_textfield');
$this
->_testTextfieldWidgets('text_long', 'text_textarea');
}