You are here

protected function TranslationLinkTest::getTranslatorPermissions in Drupal 8

Same name and namespace in other branches
  1. 9 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\Views

Code

protected function getTranslatorPermissions() {
  $permissions = parent::getTranslatorPermissions();
  $permissions[] = 'access user profiles';
  return $permissions;
}