You are here

protected function EditorSelectionTest::setUp in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/quickedit/src/Tests/EditorSelectionTest.php \Drupal\quickedit\Tests\EditorSelectionTest::setUp()

Sets the default field storage backend for fields created during tests.

Overrides QuickEditTestBase::setUp

File

core/modules/quickedit/src/Tests/EditorSelectionTest.php, line 33
Contains \Drupal\quickedit\Tests\EditorSelectionTest.

Class

EditorSelectionTest
Tests in-place field editor selection.

Namespace

Drupal\quickedit\Tests

Code

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