You are here

protected function NodeTranslationUITest::getAdministratorPermissions in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/node/src/Tests/NodeTranslationUITest.php \Drupal\node\Tests\NodeTranslationUITest::getAdministratorPermissions()

Returns an array of permissions needed for the administrator.

Overrides ContentTranslationTestBase::getAdministratorPermissions

File

core/modules/node/src/Tests/NodeTranslationUITest.php, line 128
Contains \Drupal\node\Tests\NodeTranslationUITest.

Class

NodeTranslationUITest
Tests the Node Translation UI.

Namespace

Drupal\node\Tests

Code

protected function getAdministratorPermissions() {
  return array_merge(parent::getAdministratorPermissions(), array(
    'access administration pages',
    'administer content types',
    'administer node fields',
    'access content overview',
    'bypass node access',
    'administer languages',
    'administer themes',
    'view the administration theme',
  ));
}