You are here

protected function NodeTranslationUITest::getEditorPermissions in Drupal 10

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

File

core/modules/node/tests/src/Functional/NodeTranslationUITest.php, line 145

Class

NodeTranslationUITest
Tests the Node Translation UI.

Namespace

Drupal\Tests\node\Functional

Code

protected function getEditorPermissions() {
  return [
    'administer nodes',
    'create article content',
  ];
}