public function EditorAdminTest::testAddEditorToNewFormat in Drupal 9
Same name and namespace in other branches
- 8 core/modules/editor/tests/src/Functional/EditorAdminTest.php \Drupal\Tests\editor\Functional\EditorAdminTest::testAddEditorToNewFormat()
- 10 core/modules/editor/tests/src/Functional/EditorAdminTest.php \Drupal\Tests\editor\Functional\EditorAdminTest::testAddEditorToNewFormat()
Tests adding a text editor to a new text format.
File
- core/
modules/ editor/ tests/ src/ Functional/ EditorAdminTest.php, line 101
Class
- EditorAdminTest
- Tests administration of text editors.
Namespace
Drupal\Tests\editor\FunctionalCode
public function testAddEditorToNewFormat() {
$this
->addEditorToNewFormat('monoceros', 'Monoceros');
$this
->verifyUnicornEditorConfiguration('monoceros');
}