protected function NodeTranslationUITest::getAdministratorPermissions in Drupal 9
Same name and namespace in other branches
- 8 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()
Returns an array of permissions needed for the administrator.
Overrides ContentTranslationTestBase::getAdministratorPermissions
File
- core/
modules/ node/ tests/ src/ Functional/ NodeTranslationUITest.php, line 152
Class
- NodeTranslationUITest
- Tests the Node Translation UI.
Namespace
Drupal\Tests\node\FunctionalCode
protected function getAdministratorPermissions() {
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',
]);
}