function CKEditor5ReadOnlyModeTest::createCkeditorField
Same name and namespace in other branches
- 11.x core/modules/ckeditor5/tests/src/FunctionalJavascript/CKEditor5ReadOnlyModeTest.php \Drupal\Tests\ckeditor5\FunctionalJavascript\CKEditor5ReadOnlyModeTest::createCkeditorField()
Create a CKEditor 5 field on the page node.
Parameters
string $field_name: The name of the field.
string $field_label: The label for the field.
File
-
core/
modules/ ckeditor5/ tests/ src/ FunctionalJavascript/ CKEditor5ReadOnlyModeTest.php, line 48
Class
- CKEditor5ReadOnlyModeTest
- Tests read-only mode for CKEditor 5.
Namespace
Drupal\Tests\ckeditor5\FunctionalJavascriptCode
protected function createCkeditorField(string $field_name, string $field_label) : void {
$this->createField($field_name, $field_label, 'text_long', 'text_textarea');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.