protected function MediaTranslationUITest::getTranslatorPermissions in Drupal 10
Same name and namespace in other branches
- 8 core/modules/media/tests/src/Functional/MediaTranslationUITest.php \Drupal\Tests\media\Functional\MediaTranslationUITest::getTranslatorPermissions()
- 9 core/modules/media/tests/src/Functional/MediaTranslationUITest.php \Drupal\Tests\media\Functional\MediaTranslationUITest::getTranslatorPermissions()
File
- core/
modules/ media/ tests/ src/ Functional/ MediaTranslationUITest.php, line 67
Class
- MediaTranslationUITest
- Tests the Media Translation UI.
Namespace
Drupal\Tests\media\FunctionalCode
protected function getTranslatorPermissions() {
return array_merge(parent::getTranslatorPermissions(), [
'administer media',
'edit any test media',
]);
}