You are here

protected function ContentTestTranslationUITest::getTranslatorPermissions in Zircon Profile 8

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

Returns an array of permissions needed for the translator.

Overrides ContentTranslationTestBase::getTranslatorPermissions

File

core/modules/content_translation/src/Tests/ContentTestTranslationUITest.php, line 41
Contains \Drupal\content_translation\Tests\ContentTestTranslationUITest.

Class

ContentTestTranslationUITest
Tests the test content translation UI with the test entity.

Namespace

Drupal\content_translation\Tests

Code

protected function getTranslatorPermissions() {
  return array_merge(parent::getTranslatorPermissions(), array(
    'administer entity_test content',
    'view test entity',
  ));
}