function JSTranslationTest::setUp
Same name in other branches
- 9 core/modules/ckeditor5/tests/src/FunctionalJavascript/JSTranslationTest.php \Drupal\Tests\ckeditor5\FunctionalJavascript\JSTranslationTest::setUp()
- 11.x core/modules/ckeditor5/tests/src/FunctionalJavascript/JSTranslationTest.php \Drupal\Tests\ckeditor5\FunctionalJavascript\JSTranslationTest::setUp()
Overrides CKEditor5TestBase::setUp
File
-
core/
modules/ ckeditor5/ tests/ src/ FunctionalJavascript/ JSTranslationTest.php, line 32
Class
- JSTranslationTest
- Tests for CKEditor 5 plugins using Drupal's translation system.
Namespace
Drupal\Tests\ckeditor5\FunctionalJavascriptCode
protected function setUp() : void {
parent::setUp();
// Create a sample media entity to be embedded.
$this->createMediaType('image', [
'id' => 'image',
'label' => 'Image',
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.