You are here

protected function TermTranslationUITest::getTranslatorPermissions in Zircon Profile 8

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

Returns an array of permissions needed for the translator.

Overrides ContentTranslationTestBase::getTranslatorPermissions

File

core/modules/taxonomy/src/Tests/TermTranslationUITest.php, line 60
Contains \Drupal\taxonomy\Tests\TermTranslationUITest.

Class

TermTranslationUITest
Tests the Term Translation UI.

Namespace

Drupal\taxonomy\Tests

Code

protected function getTranslatorPermissions() {
  return array_merge(parent::getTranslatorPermissions(), array(
    'administer taxonomy',
  ));
}