function OliveroMessagesTest::setUp
Same name in other branches
- 9 core/tests/Drupal/FunctionalJavascriptTests/Theme/OliveroMessagesTest.php \Drupal\FunctionalJavascriptTests\Theme\OliveroMessagesTest::setUp()
- 10 core/tests/Drupal/FunctionalJavascriptTests/Theme/OliveroMessagesTest.php \Drupal\FunctionalJavascriptTests\Theme\OliveroMessagesTest::setUp()
Overrides JsMessageTest::setUp
File
-
core/
tests/ Drupal/ FunctionalJavascriptTests/ Theme/ OliveroMessagesTest.php, line 36
Class
- OliveroMessagesTest
- Runs OliveroMessagesTest in Olivero.
Namespace
Drupal\FunctionalJavascriptTests\ThemeCode
protected function setUp() : void {
parent::setUp();
// Enable the theme.
\Drupal::service('theme_installer')->install([
'olivero',
]);
$theme_config = \Drupal::configFactory()->getEditable('system.theme');
$theme_config->set('default', 'olivero');
$theme_config->save();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.