function CKEditor5PluginManagerTest::enableModules
Same name in other branches
- 11.x core/modules/ckeditor5/tests/src/Kernel/CKEditor5PluginManagerTest.php \Drupal\Tests\ckeditor5\Kernel\CKEditor5PluginManagerTest::enableModules()
Overrides KernelTestBase::enableModules
6 calls to CKEditor5PluginManagerTest::enableModules()
- CKEditor5PluginManagerTest::testAutomaticLinkDecoratorsDisallowed in core/
modules/ ckeditor5/ tests/ src/ Kernel/ CKEditor5PluginManagerTest.php - @covers \Drupal\ckeditor5\Plugin\CKEditor5PluginDefinition::validateCKEditor5Aspects
- CKEditor5PluginManagerTest::testEnabledPlugins in core/
modules/ ckeditor5/ tests/ src/ Kernel/ CKEditor5PluginManagerTest.php - Tests the enabling of plugins.
- CKEditor5PluginManagerTest::testExternalLinkAutomaticLinkDecoratorDisallowed in core/
modules/ ckeditor5/ tests/ src/ Kernel/ CKEditor5PluginManagerTest.php - @covers \Drupal\ckeditor5\Plugin\CKEditor5PluginDefinition::validateCKEditor5Aspects
- CKEditor5PluginManagerTest::testPluginSupportingElement in core/
modules/ ckeditor5/ tests/ src/ Kernel/ CKEditor5PluginManagerTest.php - Tests the logic of findPluginSupportingElement.
- CKEditor5PluginManagerTest::testProvidedElements in core/
modules/ ckeditor5/ tests/ src/ Kernel/ CKEditor5PluginManagerTest.php - Tests the parsing of CKEditor 5 plugin element config.
File
-
core/
modules/ ckeditor5/ tests/ src/ Kernel/ CKEditor5PluginManagerTest.php, line 91
Class
- CKEditor5PluginManagerTest
- Tests different ways of enabling CKEditor 5 plugins.
Namespace
Drupal\Tests\ckeditor5\KernelCode
protected function enableModules(array $modules) {
parent::enableModules($modules);
// Ensure the CKEditor 5 plugin manager instance on the test reflects the
// status after the module is installed.
$this->manager = $this->container
->get('plugin.manager.ckeditor5.plugin');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.