protected function FieldAttachOtherTest::setUp in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/modules/field/src/Tests/FieldAttachOtherTest.php \Drupal\field\Tests\FieldAttachOtherTest::setUp()
Set the default field storage backend for fields created during tests.
Overrides FieldUnitTestBase::setUp
File
- core/
modules/ field/ src/ Tests/ FieldAttachOtherTest.php, line 20 - Contains \Drupal\field\Tests\FieldAttachOtherTest.
Class
- FieldAttachOtherTest
- Tests other Field API functions.
Namespace
Drupal\field\TestsCode
protected function setUp() {
parent::setUp();
$this->container
->get('router.builder')
->rebuild();
$this
->installEntitySchema('entity_test_rev');
$this
->createFieldWithStorage();
}