You are here

protected function CommentTranslationUITest::getTranslatorPermissions in Zircon Profile 8

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

Returns an array of permissions needed for the translator.

Overrides ContentTranslationTestBase::getTranslatorPermissions

File

core/modules/comment/src/Tests/CommentTranslationUITest.php, line 85
Contains \Drupal\comment\Tests\CommentTranslationUITest.

Class

CommentTranslationUITest
Tests the Comment Translation UI.

Namespace

Drupal\comment\Tests

Code

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