function EntityViewAlterTest::setUp

Overrides KernelTestBase::setUp

File

core/modules/layout_builder/tests/src/Kernel/EntityViewAlterTest.php, line 41

Class

EntityViewAlterTest
Tests Entity View Alter.

Namespace

Drupal\Tests\layout_builder\Kernel

Code

protected function setUp() : void {
  parent::setUp();
  EntityTestHelper::createBundle('bundle_with_extra_fields');
  $this->installEntitySchema('entity_test');
  $this->installConfig([
    'layout_builder_defaults_test',
  ]);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.