protected function TranslationLinkTest::getTranslatorPermissions in Drupal 9
Same name and namespace in other branches
- 8 core/modules/content_translation/tests/src/Functional/Views/TranslationLinkTest.php \Drupal\Tests\content_translation\Functional\Views\TranslationLinkTest::getTranslatorPermissions()
Returns an array of permissions needed for the translator.
Overrides ContentTranslationTestBase::getTranslatorPermissions
File
- core/
modules/ content_translation/ tests/ src/ Functional/ Views/ TranslationLinkTest.php, line 59
Class
- TranslationLinkTest
- Tests the content translation overview link field handler.
Namespace
Drupal\Tests\content_translation\Functional\ViewsCode
protected function getTranslatorPermissions() {
$permissions = parent::getTranslatorPermissions();
$permissions[] = 'access user profiles';
return $permissions;
}