protected function MediaTranslationUITest::getAdministratorPermissions in Drupal 9
Same name and namespace in other branches
- 8 core/modules/media/tests/src/Functional/MediaTranslationUITest.php \Drupal\Tests\media\Functional\MediaTranslationUITest::getAdministratorPermissions()
- 10 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\FunctionalCode
protected function getAdministratorPermissions() {
return array_merge(parent::getAdministratorPermissions(), [
'access administration pages',
'administer media types',
'access media overview',
'administer languages',
]);
}