You are here

protected static property MediaEntityFunctionalTestBase::$adminUserPermissions in Media entity 8

Permissions for the admin user that will be logged-in for test.

Type: array

File

tests/src/Functional/MediaEntityFunctionalTestBase.php, line 35

Class

MediaEntityFunctionalTestBase
Base class for Media Entity functional tests.

Namespace

Drupal\Tests\media_entity\Functional

Code

protected static $adminUserPermissions = [
  // Media entity permissions.
  'administer media',
  'administer media fields',
  'administer media form display',
  'administer media display',
  'administer media bundles',
  'view media',
  'create media',
  'update media',
  'update any media',
  'delete media',
  'delete any media',
  'access media overview',
  // Other permissions.
  'administer views',
  'access content overview',
  'view all revisions',
  'administer content types',
  'administer node fields',
  'administer node form display',
  'bypass node access',
];