ModerationStateTestBase::$permissions
Same name in other branches
- 9 core/modules/content_moderation/tests/src/Functional/ModerationStateTestBase.php \Drupal\Tests\content_moderation\Functional\ModerationStateTestBase::permissions
- 8.9.x core/modules/content_moderation/tests/src/Functional/ModerationStateTestBase.php \Drupal\Tests\content_moderation\Functional\ModerationStateTestBase::permissions
- 11.x 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 39
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',
'administer taxonomy',
];
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.