You are here

protected function LogTestBase::getAdministratorPermissions in Log entity 8

Gets the permissions for the admin user.

Return value

string[] The permissions.

1 call to LogTestBase::getAdministratorPermissions()
LogTestBase::setUp in src/Tests/LogTestBase.php
Sets up a Drupal site for running functional and integration tests.

File

src/Tests/LogTestBase.php, line 51

Class

LogTestBase
Tests the Log CRUD.

Namespace

Drupal\log\Tests

Code

protected function getAdministratorPermissions() {
  return [
    'access administration pages',
    'administer logs',
    'administer log module',
    'create default log entities',
    'view any default log entities',
    'edit any default log entities',
    'delete any default log entities',
    'view default revisions',
    'revert default revisions',
    'delete default revisions',
  ];
}