function ContentTranslationStandardFieldsTest::setUp
Same name in other branches
- 9 core/modules/content_translation/tests/src/Functional/ContentTranslationStandardFieldsTest.php \Drupal\Tests\content_translation\Functional\ContentTranslationStandardFieldsTest::setUp()
- 8.9.x core/modules/content_translation/tests/src/Functional/ContentTranslationStandardFieldsTest.php \Drupal\Tests\content_translation\Functional\ContentTranslationStandardFieldsTest::setUp()
- 10 core/modules/content_translation/tests/src/Functional/ContentTranslationStandardFieldsTest.php \Drupal\Tests\content_translation\Functional\ContentTranslationStandardFieldsTest::setUp()
Overrides BrowserTestBase::setUp
File
-
core/
modules/ content_translation/ tests/ src/ Functional/ ContentTranslationStandardFieldsTest.php, line 42
Class
- ContentTranslationStandardFieldsTest
- Tests the Content translation settings.
Namespace
Drupal\Tests\content_translation\FunctionalCode
protected function setUp() : void {
parent::setUp();
$admin_user = $this->drupalCreateUser([
'access administration pages',
'administer languages',
'administer content translation',
'administer content types',
'administer node fields',
'administer comment fields',
'administer comments',
'administer comment types',
]);
$this->drupalLogin($admin_user);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.