You are here

protected function MediaTranslationUITest::getEditorPermissions in Drupal 9

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

Returns an array of permissions needed for the editor.

Overrides ContentTranslationTestBase::getEditorPermissions

File

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

Class

MediaTranslationUITest
Tests the Media Translation UI.

Namespace

Drupal\Tests\media\Functional

Code

protected function getEditorPermissions() {
  return [
    'administer media',
    'create test media',
  ];
}