function ConfigExportUITest::setUp
Same name in other branches
- 9 core/modules/config/tests/src/Functional/ConfigExportUITest.php \Drupal\Tests\config\Functional\ConfigExportUITest::setUp()
- 8.9.x core/modules/config/tests/src/Functional/ConfigExportUITest.php \Drupal\Tests\config\Functional\ConfigExportUITest::setUp()
- 10 core/modules/config/tests/src/Functional/ConfigExportUITest.php \Drupal\Tests\config\Functional\ConfigExportUITest::setUp()
Overrides BrowserTestBase::setUp
File
-
core/
modules/ config/ tests/ src/ Functional/ ConfigExportUITest.php, line 32
Class
- ConfigExportUITest
- Tests the user interface for exporting configuration.
Namespace
Drupal\Tests\config\FunctionalCode
protected function setUp() : void {
parent::setUp();
// Set up an override.
$settings['config']['system.maintenance']['message'] = (object) [
'value' => 'Foo',
'required' => TRUE,
];
$this->writeSettings($settings);
$this->drupalLogin($this->drupalCreateUser([
'export configuration',
]));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.