You are here

protected function ContentTestTranslationUITest::getTranslatorPermissions in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/content_translation/tests/src/Functional/ContentTestTranslationUITest.php \Drupal\Tests\content_translation\Functional\ContentTestTranslationUITest::getTranslatorPermissions()
  2. 9 core/modules/content_translation/tests/src/Functional/ContentTestTranslationUITest.php \Drupal\Tests\content_translation\Functional\ContentTestTranslationUITest::getTranslatorPermissions()

File

core/modules/content_translation/tests/src/Functional/ContentTestTranslationUITest.php, line 56

Class

ContentTestTranslationUITest
Tests the test content translation UI with the test entity.

Namespace

Drupal\Tests\content_translation\Functional

Code

protected function getTranslatorPermissions() {
  return array_merge(parent::getTranslatorPermissions(), [
    'administer entity_test content',
    'view test entity',
  ]);
}