protected function EditorSelectionTest::setUp in Drupal 10
Same name and namespace in other branches
- 8 core/modules/quickedit/tests/src/Kernel/EditorSelectionTest.php \Drupal\Tests\quickedit\Kernel\EditorSelectionTest::setUp()
- 9 core/modules/quickedit/tests/src/Kernel/EditorSelectionTest.php \Drupal\Tests\quickedit\Kernel\EditorSelectionTest::setUp()
File
- core/
modules/ quickedit/ tests/ src/ Kernel/ EditorSelectionTest.php, line 29
Class
- EditorSelectionTest
- Tests in-place field editor selection.
Namespace
Drupal\Tests\quickedit\KernelCode
protected function setUp() : void {
parent::setUp();
$this->editorManager = $this->container
->get('plugin.manager.quickedit.editor');
$this->editorSelector = new EditorSelector($this->editorManager, $this->container
->get('plugin.manager.field.formatter'));
}