function NodeBodyFieldStorageTest::setUp
Overrides KernelTestBase::setUp
File
-
core/
modules/ field/ tests/ src/ Kernel/ NodeBodyFieldStorageTest.php, line 36
Class
- NodeBodyFieldStorageTest
- Tests node body field storage.
Namespace
Drupal\Tests\field\KernelCode
protected function setUp() : void {
parent::setUp();
// Necessary for module uninstall.
$this->installSchema('user', 'users_data');
$this->installEntitySchema('user');
$this->installEntitySchema('node');
$this->installConfig([
'field',
'node',
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.