public function FieldAttachOtherTest::setUp

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

Overrides FieldUnitTestBase::setUp

File

drupal/core/modules/field/lib/Drupal/field/Tests/FieldAttachOtherTest.php, line 25
Definition of Drupal\field\Tests\FieldAttachOtherTest.

Class

FieldAttachOtherTest
Unit test class for non-storage related field_attach_* functions.

Namespace

Drupal\field\Tests

Code

public function setUp() {
  parent::setUp();
  $this
    ->createFieldWithInstance();
}