function MediaTranslationUITest::getAdministratorPermissions
Same name in other branches
- 9 core/modules/media/tests/src/Functional/MediaTranslationUITest.php \Drupal\Tests\media\Functional\MediaTranslationUITest::getAdministratorPermissions()
- 8.9.x core/modules/media/tests/src/Functional/MediaTranslationUITest.php \Drupal\Tests\media\Functional\MediaTranslationUITest::getAdministratorPermissions()
- 11.x core/modules/media/tests/src/Functional/MediaTranslationUITest.php \Drupal\Tests\media\Functional\MediaTranslationUITest::getAdministratorPermissions()
Overrides ContentTranslationTestBase::getAdministratorPermissions
File
-
core/
modules/ media/ tests/ src/ Functional/ MediaTranslationUITest.php, line 87
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',
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.