You are here

protected function MediaTranslationUITest::getAdministratorPermissions 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::getAdministratorPermissions()
  2. 9 core/modules/media/tests/src/Functional/MediaTranslationUITest.php \Drupal\Tests\media\Functional\MediaTranslationUITest::getAdministratorPermissions()

File

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

Class

MediaTranslationUITest
Tests the Media Translation UI.

Namespace

Drupal\Tests\media\Functional

Code

protected function getAdministratorPermissions() {
  return array_merge(parent::getAdministratorPermissions(), [
    'access administration pages',
    'administer media types',
    'access media overview',
    'administer languages',
  ]);
}