protected property NodeAccessTest::$permissions in Drupal 9
Same name and namespace in other branches
- 8 core/modules/content_moderation/tests/src/Functional/NodeAccessTest.php \Drupal\Tests\content_moderation\Functional\NodeAccessTest::permissions
- 10 core/modules/content_moderation/tests/src/Functional/NodeAccessTest.php \Drupal\Tests\content_moderation\Functional\NodeAccessTest::permissions
Permissions to grant admin user.
Type: array
Overrides ModerationStateTestBase::$permissions
File
- core/
modules/ content_moderation/ tests/ src/ Functional/ NodeAccessTest.php, line 37
Class
- NodeAccessTest
- Tests permission access control around nodes.
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',
'bypass node access',
];