protected function FieldImportDeleteUninstallTest::setUp in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/field/src/Tests/FieldImportDeleteUninstallTest.php \Drupal\field\Tests\FieldImportDeleteUninstallTest::setUp()
Set the default field storage backend for fields created during tests.
Overrides FieldUnitTestBase::setUp
File
- core/
modules/ field/ src/ Tests/ FieldImportDeleteUninstallTest.php, line 27 - Contains \Drupal\field\Tests\FieldImportDeleteUninstallTest.
Class
- FieldImportDeleteUninstallTest
- Delete field storages and fields during config synchronization and uninstall module that provides the field type.
Namespace
Drupal\field\TestsCode
protected function setUp() {
parent::setUp();
// Module uninstall requires the router and users_data tables.
// @see drupal_flush_all_caches()
// @see user_modules_uninstalled()
$this
->installSchema('user', array(
'users_data',
));
}