protected property ModerationStateTestBase::$permissions in Drupal 8
Same name and namespace in other branches
- 9 core/modules/content_moderation/tests/src/Functional/ModerationStateTestBase.php \Drupal\Tests\content_moderation\Functional\ModerationStateTestBase::permissions
- 10 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\FunctionalCode
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',
];