function NodeTranslationUITest::getEditorPermissions

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

Overrides ContentTranslationTestBase::getEditorPermissions

File

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

Class

NodeTranslationUITest
Tests the Node Translation UI.

Namespace

Drupal\Tests\node\Functional

Code

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

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