You are here

protected function MediaTranslationUITest::getAdministratorPermissions in Drupal 8

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

Returns an array of permissions needed for the administrator.

Overrides ContentTranslationTestBase::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',
  ]);
}