function NodeImportCreateTest::setUp
Set the default field storage backend for fields created during tests.
Overrides KernelTestBase::setUp
File
-
core/
modules/ node/ tests/ src/ Kernel/ Config/ NodeImportCreateTest.php, line 27
Class
- NodeImportCreateTest
- Create content types during config create method invocation.
Namespace
Drupal\Tests\node\Kernel\ConfigCode
protected function setUp() : void {
parent::setUp();
$this->installEntitySchema('user');
// Set default storage backend.
$this->installConfig([
'system',
'field',
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.