You are here

protected function UserTranslationUITest::getTranslatorPermissions in Zircon Profile 8

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

Returns an array of permissions needed for the translator.

Overrides ContentTranslationTestBase::getTranslatorPermissions

File

core/modules/user/src/Tests/UserTranslationUITest.php, line 45
Contains \Drupal\user\Tests\UserTranslationUITest.

Class

UserTranslationUITest
Tests the User Translation UI.

Namespace

Drupal\user\Tests

Code

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