function FieldStorageIndexesValidationTest::setUp

Same name and namespace in other branches
  1. 11.x core/modules/field/tests/src/Kernel/Config/FieldStorageIndexesValidationTest.php \Drupal\Tests\field\Kernel\Config\FieldStorageIndexesValidationTest::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\Config

Code

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.