You are here

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

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

Type: array

File

tests/src/FunctionalJavascript/MediaEntityJavascriptTestBase.php, line 36

Class

MediaEntityJavascriptTestBase
Base class for Media Entity Javascript functional tests.

Namespace

Drupal\Tests\media_entity\FunctionalJavascript

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',
];