function EntityViewAlterTest::setUp
Overrides KernelTestBase::setUp
File
- 
              core/
modules/ layout_builder/ tests/ src/ Kernel/ EntityViewAlterTest.php, line 37  
Class
- EntityViewAlterTest
 - @covers layout_builder_entity_view_alter[[api-linebreak]]
 
Namespace
Drupal\Tests\layout_builder\KernelCode
protected function setUp() : void {
  parent::setUp();
  entity_test_create_bundle('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.