protected function LanguageSelectorTranslatableTest::getAdministratorPermissions in Drupal 9
Same name and namespace in other branches
- 8 core/modules/language/tests/src/Functional/LanguageSelectorTranslatableTest.php \Drupal\Tests\language\Functional\LanguageSelectorTranslatableTest::getAdministratorPermissions()
Returns an array of permissions needed for the translator.
1 call to LanguageSelectorTranslatableTest::getAdministratorPermissions()
- LanguageSelectorTranslatableTest::setUp in core/
modules/ language/ tests/ src/ Functional/ LanguageSelectorTranslatableTest.php
File
- core/
modules/ language/ tests/ src/ Functional/ LanguageSelectorTranslatableTest.php, line 55
Class
- LanguageSelectorTranslatableTest
- Tests the content translation settings language selector options.
Namespace
Drupal\Tests\language\FunctionalCode
protected function getAdministratorPermissions() {
return array_filter([
'translate interface',
'administer content translation',
'create content translations',
'update content translations',
'delete content translations',
'administer languages',
]);
}