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