Same name in other branches
  1. 2.x tests/src/Functional/EntityCloneContentModerationTest.php \Drupal\Tests\entity_clone\Functional\EntityCloneContentModerationTest::permissions

Permissions to grant admin user.

Type: array

File

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

Class

EntityCloneContentModerationTest
Create a moderated content and test the clone of its moderation state.

Namespace

Drupal\Tests\entity_clone\Functional

Code

protected $permissions = [
    'bypass node access',
    'administer nodes',
    'clone node entity',
    'use editorial transition create_new_draft',
    'use editorial transition publish',
    'use editorial transition archive',
    'use editorial transition archived_draft',
    'use editorial transition archived_published',
];