MediaFunctionalTestTrait::$adminUserPermissions
Same name in other branches
- 8.9.x core/modules/media/tests/src/Functional/MediaFunctionalTestTrait.php \Drupal\Tests\media\Functional\MediaFunctionalTestTrait::adminUserPermissions
- 10 core/modules/media/tests/src/Functional/MediaFunctionalTestTrait.php \Drupal\Tests\media\Functional\MediaFunctionalTestTrait::adminUserPermissions
- 11.x core/modules/media/tests/src/Functional/MediaFunctionalTestTrait.php \Drupal\Tests\media\Functional\MediaFunctionalTestTrait::adminUserPermissions
Permissions for the admin user that will be logged-in for test.
Type: array
File
-
core/
modules/ media/ tests/ src/ Functional/ MediaFunctionalTestTrait.php, line 15
Class
- MediaFunctionalTestTrait
- Trait with helpers for Media functional tests.
Namespace
Drupal\Tests\media\FunctionalCode
protected static $adminUserPermissions = [
// Media module permissions.
'access media overview',
'administer media',
'administer media fields',
'administer media form display',
'administer media display',
'administer media types',
'view media',
// Other permissions.
'administer views',
'access content overview',
'view all revisions',
'administer content types',
'administer node fields',
'administer node form display',
'administer node display',
'bypass node access',
];
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.