You are here

protected function TranslationLinkTest::getTranslatorPermissions in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/modules/content_translation/src/Tests/Views/TranslationLinkTest.php \Drupal\content_translation\Tests\Views\TranslationLinkTest::getTranslatorPermissions()

Returns an array of permissions needed for the translator.

Overrides ContentTranslationTestBase::getTranslatorPermissions

File

core/modules/content_translation/src/Tests/Views/TranslationLinkTest.php, line 59
Contains \Drupal\content_translation\Tests\Views\TranslationLinkTest.

Class

TranslationLinkTest
Tests the content translation overview link field handler.

Namespace

Drupal\content_translation\Tests\Views

Code

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