You are here

protected function TermTranslationUITest::getTranslatorPermissions in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/taxonomy/tests/src/Functional/TermTranslationUITest.php \Drupal\Tests\taxonomy\Functional\TermTranslationUITest::getTranslatorPermissions()
  2. 9 core/modules/taxonomy/tests/src/Functional/TermTranslationUITest.php \Drupal\Tests\taxonomy\Functional\TermTranslationUITest::getTranslatorPermissions()

File

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

Class

TermTranslationUITest
Tests the Term Translation UI.

Namespace

Drupal\Tests\taxonomy\Functional

Code

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