You are here

protected function EditorSelectionTest::setUp in Drupal 9

Same name and namespace in other branches
  1. 8 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\Kernel

Code

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'));
}