You are here

protected function WorkbenchTransitionEmailTest::getEditorPermissions in Workbench Email 8

Same name and namespace in other branches
  1. 2.x tests/src/Functional/WorkbenchTransitionEmailTest.php \Drupal\Tests\workbench_email\Functional\WorkbenchTransitionEmailTest::getEditorPermissions()

Gets editor permissions.

Return value

array Permission names.

Overrides WorkbenchEmailTestBase::getEditorPermissions

File

tests/src/Functional/WorkbenchTransitionEmailTest.php, line 62

Class

WorkbenchTransitionEmailTest
Tests the view access control handler for moderation state entities.

Namespace

Drupal\Tests\workbench_email\Functional

Code

protected function getEditorPermissions() {
  return [
    'view any unpublished content',
    'access content',
    'edit any test content',
    'create test content',
    'view test revisions',
    'edit any another content',
    'create another content',
    'view another revisions',
    'use draft_needs_review transition',
    'use draft_draft transition',
    'use published_draft transition',
  ];
}