protected function ContentTranslationTestBase::getAdministratorPermissions in Drupal 10
Same name and namespace in other branches
- 8 core/modules/content_translation/tests/src/Functional/ContentTranslationTestBase.php \Drupal\Tests\content_translation\Functional\ContentTranslationTestBase::getAdministratorPermissions()
- 9 core/modules/content_translation/tests/src/Functional/ContentTranslationTestBase.php \Drupal\Tests\content_translation\Functional\ContentTranslationTestBase::getAdministratorPermissions()
Returns an array of permissions needed for the administrator.
File
- core/
modules/ content_translation/ tests/ src/ Functional/ ContentTranslationTestBase.php, line 141
Class
- ContentTranslationTestBase
- Base class for content translation tests.
Namespace
Drupal\Tests\content_translation\FunctionalCode
protected function getAdministratorPermissions() {
return array_merge($this
->getEditorPermissions(), $this
->getTranslatorPermissions(), [
'administer languages',
'administer content translation',
]);
}