protected function TermTranslationUITest::getTranslatorPermissions in Drupal 8
Same name and namespace in other branches
- 9 core/modules/taxonomy/tests/src/Functional/TermTranslationUITest.php \Drupal\Tests\taxonomy\Functional\TermTranslationUITest::getTranslatorPermissions()
Returns an array of permissions needed for the translator.
Overrides ContentTranslationTestBase::getTranslatorPermissions
File
- core/
modules/ taxonomy/ tests/ src/ Functional/ TermTranslationUITest.php, line 62
Class
- TermTranslationUITest
- Tests the Term Translation UI.
Namespace
Drupal\Tests\taxonomy\FunctionalCode
protected function getTranslatorPermissions() {
return array_merge(parent::getTranslatorPermissions(), [
'administer taxonomy',
]);
}