function EditorAdminTest::testAddEditorToNewFormat
Same name in other branches
- 9 core/modules/editor/tests/src/Functional/EditorAdminTest.php \Drupal\Tests\editor\Functional\EditorAdminTest::testAddEditorToNewFormat()
- 8.9.x core/modules/editor/tests/src/Functional/EditorAdminTest.php \Drupal\Tests\editor\Functional\EditorAdminTest::testAddEditorToNewFormat()
- 11.x 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 104
Class
- EditorAdminTest
- Tests administration of text editors.
Namespace
Drupal\Tests\editor\FunctionalCode
public function testAddEditorToNewFormat() : void {
$this->addEditorToNewFormat('monoceros', 'Monoceros');
$this->verifyUnicornEditorConfiguration('monoceros');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.