You are here

protected function MenuLinkContentTranslationUITest::getAdministratorPermissions in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/menu_link_content/tests/src/Functional/MenuLinkContentTranslationUITest.php \Drupal\Tests\menu_link_content\Functional\MenuLinkContentTranslationUITest::getAdministratorPermissions()
  2. 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\Functional

Code

protected function getAdministratorPermissions() {
  return array_merge(parent::getAdministratorPermissions(), [
    'administer themes',
    'view the administration theme',
  ]);
}