protected function MediaTranslationUITest::getEditorPermissions in Drupal 8
Same name and namespace in other branches
- 9 core/modules/media/tests/src/Functional/MediaTranslationUITest.php \Drupal\Tests\media\Functional\MediaTranslationUITest::getEditorPermissions()
- 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\FunctionalCode
protected function getEditorPermissions() {
return [
'administer media',
'create test media',
];
}