You are here

protected function MediaTranslationUITest::getTranslatorPermissions in Drupal 10

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

File

core/modules/media/tests/src/Functional/MediaTranslationUITest.php, line 67

Class

MediaTranslationUITest
Tests the Media Translation UI.

Namespace

Drupal\Tests\media\Functional

Code

protected function getTranslatorPermissions() {
  return array_merge(parent::getTranslatorPermissions(), [
    'administer media',
    'edit any test media',
  ]);
}