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