function ConfigExportImportUITest::setUp
Same name in other branches
- 9 core/modules/config/tests/src/Functional/ConfigExportImportUITest.php \Drupal\Tests\config\Functional\ConfigExportImportUITest::setUp()
- 8.9.x core/modules/config/tests/src/Functional/ConfigExportImportUITest.php \Drupal\Tests\config\Functional\ConfigExportImportUITest::setUp()
- 11.x core/modules/config/tests/src/Functional/ConfigExportImportUITest.php \Drupal\Tests\config\Functional\ConfigExportImportUITest::setUp()
Overrides BrowserTestBase::setUp
File
-
core/
modules/ config/ tests/ src/ Functional/ ConfigExportImportUITest.php, line 78
Class
- ConfigExportImportUITest
- Tests the user interface for importing/exporting configuration.
Namespace
Drupal\Tests\config\FunctionalCode
protected function setUp() : void {
parent::setUp();
// Create a content type.
$this->contentType = $this->drupalCreateContentType([
'type' => 'test',
]);
$this->drupalLogin($this->drupalCreateUser([
'export configuration',
'import configuration',
'synchronize configuration',
'access administration pages',
'administer site configuration',
'create test content',
'view the administration theme',
]));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.