function EntityMethodConfigActionsTest::setUp
Overrides KernelTestBase::setUp
File
- 
              core/tests/ Drupal/ KernelTests/ Core/ Recipe/ EntityMethodConfigActionsTest.php, line 37 
Class
- EntityMethodConfigActionsTest
- @group Recipe
Namespace
Drupal\KernelTests\Core\RecipeCode
protected function setUp() : void {
  parent::setUp();
  $this->installConfig('node');
  $this->createContentType([
    'type' => 'test',
  ]);
  $this->container
    ->get(EntityDisplayRepositoryInterface::class)
    ->getViewDisplay('node', 'test', 'full')
    ->save();
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
