You are here

protected function WorkbenchTransitionEmailTest::getApproverPermissions 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::getApproverPermissions()

Gets approver permissions.

Return value

array Permission names.

Overrides WorkbenchEmailTestBase::getApproverPermissions

File

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

Class

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

Namespace

Drupal\Tests\workbench_email\Functional

Code

protected function getApproverPermissions() {
  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 needs_review_published transition',
  ];
}