protected function CommentTranslationUITest::getTranslatorPermissions

Overrides \Drupal\translation_entity\Tests\EntityTranslationUITest::getTranslatorPermission().

Overrides EntityTranslationTestBase::getTranslatorPermissions

File

drupal/core/modules/comment/lib/Drupal/comment/Tests/CommentTranslationUITest.php, line 57
Definition of 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',
  ));
}