You are here

public function BlockContentTranslationUITest::getTranslatorPermissions in Zircon Profile 8

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

Returns an array of permissions needed for the translator.

Overrides ContentTranslationTestBase::getTranslatorPermissions

File

core/modules/block_content/src/Tests/BlockContentTranslationUITest.php, line 74
Contains \Drupal\block_content\Tests\BlockContentTranslationUITest.

Class

BlockContentTranslationUITest
Tests the block content translation UI.

Namespace

Drupal\block_content\Tests

Code

public function getTranslatorPermissions() {
  return array_merge(parent::getTranslatorPermissions(), array(
    'translate any entity',
    'access administration pages',
    'administer blocks',
    'administer block_content fields',
  ));
}