You are here

protected property ModerationStateTestBase::$permissions in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/content_moderation/tests/src/Functional/ModerationStateTestBase.php \Drupal\Tests\content_moderation\Functional\ModerationStateTestBase::permissions
  2. 9 core/modules/content_moderation/tests/src/Functional/ModerationStateTestBase.php \Drupal\Tests\content_moderation\Functional\ModerationStateTestBase::permissions

Permissions to grant admin user.

Type: array

File

core/modules/content_moderation/tests/src/Functional/ModerationStateTestBase.php, line 37

Class

ModerationStateTestBase
Defines a base class for moderation state tests.

Namespace

Drupal\Tests\content_moderation\Functional

Code

protected $permissions = [
  'administer workflows',
  'access administration pages',
  'administer content types',
  'administer nodes',
  'view latest version',
  'view any unpublished content',
  'access content overview',
  'use editorial transition create_new_draft',
  'use editorial transition publish',
  'use editorial transition archive',
  'use editorial transition archived_draft',
  'use editorial transition archived_published',
];