function MenuLinkContentTranslationUITest::getTranslatorPermissions

Same name 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()
  3. 11.x core/modules/menu_link_content/tests/src/Functional/MenuLinkContentTranslationUITest.php \Drupal\Tests\menu_link_content\Functional\MenuLinkContentTranslationUITest::getTranslatorPermissions()

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',
    ]);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.