protected function EditorSelectionTest::setUp in Drupal 8
Same name and namespace in other branches
- 9 core/modules/quickedit/tests/src/Kernel/EditorSelectionTest.php \Drupal\Tests\quickedit\Kernel\EditorSelectionTest::setUp()
Sets the default field storage backend for fields created during tests.
Overrides QuickEditTestBase::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() {
parent::setUp();
$this->editorManager = $this->container
->get('plugin.manager.quickedit.editor');
$this->editorSelector = new EditorSelector($this->editorManager, $this->container
->get('plugin.manager.field.formatter'));
}