protected function ShortcutTranslationUITest::getTranslatorPermissions in Drupal 9
Same name and namespace in other branches
- 8 core/modules/shortcut/tests/src/Functional/ShortcutTranslationUITest.php \Drupal\Tests\shortcut\Functional\ShortcutTranslationUITest::getTranslatorPermissions()
- 10 core/modules/shortcut/tests/src/Functional/ShortcutTranslationUITest.php \Drupal\Tests\shortcut\Functional\ShortcutTranslationUITest::getTranslatorPermissions()
Returns an array of permissions needed for the translator.
Overrides ContentTranslationTestBase::getTranslatorPermissions
File
- core/
modules/ shortcut/ tests/ src/ Functional/ ShortcutTranslationUITest.php, line 52
Class
- ShortcutTranslationUITest
- Tests the shortcut translation UI.
Namespace
Drupal\Tests\shortcut\FunctionalCode
protected function getTranslatorPermissions() {
return array_merge(parent::getTranslatorPermissions(), [
'access shortcuts',
'administer shortcuts',
'access toolbar',
]);
}