function EngineNyanCatTest::setUp

Same name in other branches
  1. 9 core/modules/system/tests/src/Functional/Theme/EngineNyanCatTest.php \Drupal\Tests\system\Functional\Theme\EngineNyanCatTest::setUp()
  2. 8.9.x core/modules/system/tests/src/Functional/Theme/EngineNyanCatTest.php \Drupal\Tests\system\Functional\Theme\EngineNyanCatTest::setUp()
  3. 10 core/modules/system/tests/src/Functional/Theme/EngineNyanCatTest.php \Drupal\Tests\system\Functional\Theme\EngineNyanCatTest::setUp()

Overrides BrowserTestBase::setUp

File

core/modules/system/tests/src/Functional/Theme/EngineNyanCatTest.php, line 31

Class

EngineNyanCatTest
Tests the multi theme engine support.

Namespace

Drupal\Tests\system\Functional\Theme

Code

protected function setUp() : void {
    parent::setUp();
    \Drupal::service('theme_installer')->install([
        'test_theme_nyan_cat_engine',
    ]);
}

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