function EditorSelectionTest::setUp

Same name in other branches
  1. 9 core/modules/quickedit/tests/src/Kernel/EditorSelectionTest.php \Drupal\Tests\quickedit\Kernel\EditorSelectionTest::setUp()

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() {
    parent::setUp();
    $this->editorManager = $this->container
        ->get('plugin.manager.quickedit.editor');
    $this->editorSelector = new EditorSelector($this->editorManager, $this->container
        ->get('plugin.manager.field.formatter'));
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.