function ContentTranslationWorkflowsTest::getEditorPermissions

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

Overrides ContentTranslationTestBase::getEditorPermissions

File

core/modules/content_translation/tests/src/Functional/ContentTranslationWorkflowsTest.php, line 147

Class

ContentTranslationWorkflowsTest
Tests the content translation workflows for the test entity.

Namespace

Drupal\Tests\content_translation\Functional

Code

protected function getEditorPermissions() {
    return [
        'administer entity_test content',
        'view test entity',
        'view test entity translations',
    ];
}

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