function NodeTranslationUITest::getAdministratorPermissions
Same name in other branches
- 9 core/modules/node/tests/src/Functional/NodeTranslationUITest.php \Drupal\Tests\node\Functional\NodeTranslationUITest::getAdministratorPermissions()
- 8.9.x core/modules/node/tests/src/Functional/NodeTranslationUITest.php \Drupal\Tests\node\Functional\NodeTranslationUITest::getAdministratorPermissions()
- 10 core/modules/node/tests/src/Functional/NodeTranslationUITest.php \Drupal\Tests\node\Functional\NodeTranslationUITest::getAdministratorPermissions()
Overrides ContentTranslationTestBase::getAdministratorPermissions
File
-
core/
modules/ node/ tests/ src/ Functional/ NodeTranslationUITest.php, line 146
Class
- NodeTranslationUITest
- Tests the Node Translation UI.
Namespace
Drupal\Tests\node\FunctionalCode
protected function getAdministratorPermissions() : array {
return array_merge(parent::getAdministratorPermissions(), [
'access administration pages',
'administer content types',
'administer node fields',
'access content overview',
'bypass node access',
'administer languages',
'administer themes',
'view the administration theme',
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.