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