protected function ShortcutTranslationUITest::getTranslatorPermissions in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/shortcut/src/Tests/ShortcutTranslationUITest.php \Drupal\shortcut\Tests\ShortcutTranslationUITest::getTranslatorPermissions()
Returns an array of permissions needed for the translator.
Overrides ContentTranslationTestBase::getTranslatorPermissions
File
- core/
modules/ shortcut/ src/ Tests/ ShortcutTranslationUITest.php, line 51 - Contains \Drupal\shortcut\Tests\ShortcutTranslationUITest.
Class
- ShortcutTranslationUITest
- Tests the shortcut translation UI.
Namespace
Drupal\shortcut\TestsCode
protected function getTranslatorPermissions() {
return array_merge(parent::getTranslatorPermissions(), array(
'access shortcuts',
'administer shortcuts',
'access toolbar',
));
}