function CKEditor4to5UpgradeCompletenessTest::setUp
Overrides KernelTestBase::setUp
File
-
core/
modules/ ckeditor5/ tests/ src/ Kernel/ CKEditor4to5UpgradeCompletenessTest.php, line 88
Class
- CKEditor4to5UpgradeCompletenessTest
- @covers \Drupal\ckeditor5\Plugin\CKEditor4To5Upgrade\Core @group ckeditor5 @internal
Namespace
Drupal\Tests\ckeditor5\KernelCode
protected function setUp() : void {
parent::setUp();
// The tested service is private; expose it under a public test-only alias.
$this->container
->setAlias('sut', 'plugin.manager.ckeditor4to5upgrade.plugin');
$this->cke4PluginManager = $this->container
->get('plugin.manager.ckeditor.plugin');
$this->cke5PluginManager = $this->container
->get('plugin.manager.ckeditor5.plugin');
$this->upgradePluginManager = $this->container
->get('sut');
$this->smartDefaultSettings = $this->container
->get('ckeditor5.smart_default_settings');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.