function QuickEditTestBase::setUp

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

File

core/modules/quickedit/tests/src/Kernel/QuickEditTestBase.php, line 46

Class

QuickEditTestBase
Base class for testing Quick Edit functionality.

Namespace

Drupal\Tests\quickedit\Kernel

Code

protected function setUp() {
  parent::setUp();
  $this->fields = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS);
  $this->installEntitySchema('user');
  $this->installEntitySchema('entity_test');
  $this->installConfig([
    'field',
    'filter',
  ]);
}

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