You are here

protected function MenuLinkContentTranslationUITest::getTranslatorPermissions in Drupal 8

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

Code

protected function getTranslatorPermissions() {
  return array_merge(parent::getTranslatorPermissions(), [
    'administer menu',
  ]);
}