function TermTranslationUITest::getTranslatorPermissions

Same name in other branches
  1. 8.9.x core/modules/taxonomy/tests/src/Functional/TermTranslationUITest.php \Drupal\Tests\taxonomy\Functional\TermTranslationUITest::getTranslatorPermissions()
  2. 10 core/modules/taxonomy/tests/src/Functional/TermTranslationUITest.php \Drupal\Tests\taxonomy\Functional\TermTranslationUITest::getTranslatorPermissions()
  3. 11.x core/modules/taxonomy/tests/src/Functional/TermTranslationUITest.php \Drupal\Tests\taxonomy\Functional\TermTranslationUITest::getTranslatorPermissions()

Overrides ContentTranslationTestBase::getTranslatorPermissions

File

core/modules/taxonomy/tests/src/Functional/TermTranslationUITest.php, line 75

Class

TermTranslationUITest
Tests the Term Translation UI.

Namespace

Drupal\Tests\taxonomy\Functional

Code

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

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