function FieldImportDeleteUninstallTest::setUp
Same name in other branches
- 9 core/modules/field/tests/src/Kernel/FieldImportDeleteUninstallTest.php \Drupal\Tests\field\Kernel\FieldImportDeleteUninstallTest::setUp()
- 8.9.x core/modules/field/tests/src/Kernel/FieldImportDeleteUninstallTest.php \Drupal\Tests\field\Kernel\FieldImportDeleteUninstallTest::setUp()
- 11.x core/modules/field/tests/src/Kernel/FieldImportDeleteUninstallTest.php \Drupal\Tests\field\Kernel\FieldImportDeleteUninstallTest::setUp()
Overrides FieldKernelTestBase::setUp
File
-
core/
modules/ field/ tests/ src/ Kernel/ FieldImportDeleteUninstallTest.php, line 28
Class
- FieldImportDeleteUninstallTest
- Tests field storages and fields deletion during config synchronization.
Namespace
Drupal\Tests\field\KernelCode
protected function setUp() : void {
parent::setUp();
// Module uninstall requires users_data tables.
// @see drupal_flush_all_caches()
// @see user_modules_uninstalled()
$this->installSchema('user', [
'users_data',
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.