function ConfigTranslationViewListUiTest::setUp
Same name in other branches
- 9 core/modules/config_translation/tests/src/Functional/ConfigTranslationViewListUiTest.php \Drupal\Tests\config_translation\Functional\ConfigTranslationViewListUiTest::setUp()
- 8.9.x core/modules/config_translation/tests/src/Functional/ConfigTranslationViewListUiTest.php \Drupal\Tests\config_translation\Functional\ConfigTranslationViewListUiTest::setUp()
- 10 core/modules/config_translation/tests/src/Functional/ConfigTranslationViewListUiTest.php \Drupal\Tests\config_translation\Functional\ConfigTranslationViewListUiTest::setUp()
Overrides UITestBase::setUp
File
-
core/
modules/ config_translation/ tests/ src/ Functional/ ConfigTranslationViewListUiTest.php, line 40
Class
- ConfigTranslationViewListUiTest
- Visit view list and test if translate is available.
Namespace
Drupal\Tests\config_translation\FunctionalCode
protected function setUp($import_test_views = TRUE, $modules = [
'views_test_config',
]) : void {
parent::setUp($import_test_views, $modules);
$permissions = [
'administer views',
'translate configuration',
'access content overview',
'administer languages',
];
// Create and log in user.
$this->drupalLogin($this->drupalCreateUser($permissions));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.