function ElementInfoIntegrationTest::setUp
Same name in other branches
- 8.9.x core/tests/Drupal/KernelTests/Core/Render/ElementInfoIntegrationTest.php \Drupal\KernelTests\Core\Render\ElementInfoIntegrationTest::setUp()
- 10 core/tests/Drupal/KernelTests/Core/Render/ElementInfoIntegrationTest.php \Drupal\KernelTests\Core\Render\ElementInfoIntegrationTest::setUp()
- 11.x core/tests/Drupal/KernelTests/Core/Render/ElementInfoIntegrationTest.php \Drupal\KernelTests\Core\Render\ElementInfoIntegrationTest::setUp()
Overrides KernelTestBase::setUp
File
-
core/
tests/ Drupal/ KernelTests/ Core/ Render/ ElementInfoIntegrationTest.php, line 17
Class
- ElementInfoIntegrationTest
- Tests the element info.
Namespace
Drupal\KernelTests\Core\RenderCode
protected function setUp() : void {
parent::setUp();
$this->container
->get('theme_installer')
->install([
'test_theme',
'starterkit_theme',
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.