You are here

protected function MenuLinkContentTranslationUITest::getTranslatorPermissions in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/menu_link_content/src/Tests/MenuLinkContentTranslationUITest.php \Drupal\menu_link_content\Tests\MenuLinkContentTranslationUITest::getTranslatorPermissions()

Returns an array of permissions needed for the translator.

Overrides ContentTranslationTestBase::getTranslatorPermissions

File

core/modules/menu_link_content/src/Tests/MenuLinkContentTranslationUITest.php, line 49
Contains \Drupal\menu_link_content\Tests\MenuLinkContentTranslationUITest.

Class

MenuLinkContentTranslationUITest
Tests the menu link content translation UI.

Namespace

Drupal\menu_link_content\Tests

Code

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