protected function MenuLinkContentTranslationUITest::getAdministratorPermissions 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::getAdministratorPermissions()
- 10 core/modules/menu_link_content/tests/src/Functional/MenuLinkContentTranslationUITest.php \Drupal\Tests\menu_link_content\Functional\MenuLinkContentTranslationUITest::getAdministratorPermissions()
Returns an array of permissions needed for the administrator.
Overrides ContentTranslationTestBase::getAdministratorPermissions
File
- core/
modules/ menu_link_content/ tests/ src/ Functional/ MenuLinkContentTranslationUITest.php, line 56
Class
- MenuLinkContentTranslationUITest
- Tests the menu link content translation UI.
Namespace
Drupal\Tests\menu_link_content\FunctionalCode
protected function getAdministratorPermissions() {
return array_merge(parent::getAdministratorPermissions(), [
'administer themes',
'view the administration theme',
]);
}