function FieldStorageIndexesValidationTest::setUp
Same name and namespace in other branches
- main core/modules/field/tests/src/Kernel/Config/FieldStorageIndexesValidationTest.php \Drupal\Tests\field\Kernel\Config\FieldStorageIndexesValidationTest::setUp()
Set the default field storage backend for fields created during tests.
Overrides FieldKernelTestBase::setUp
File
-
core/
modules/ field/ tests/ src/ Kernel/ Config/ FieldStorageIndexesValidationTest.php, line 41
Class
- FieldStorageIndexesValidationTest
- Tests validation for field storage indexes config.
Namespace
Drupal\Tests\field\Kernel\ConfigCode
protected function setUp() : void {
parent::setUp();
EntityTestHelper::createBundle('test_bundle');
$this->installConfig([
'field_test_config',
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.