You are here

protected function LogTestBase::getAdministratorPermissions in Log entity 2.x

Gets the permissions for the admin user.

Return value

string[] The permissions.

1 call to LogTestBase::getAdministratorPermissions()
LogTestBase::setUp in tests/src/Functional/LogTestBase.php

File

tests/src/Functional/LogTestBase.php, line 67

Class

LogTestBase
Tests the Log CRUD.

Namespace

Drupal\Tests\log\Functional

Code

protected function getAdministratorPermissions() {
  return [
    'access administration pages',
    'administer log',
    'view any log',
    'create default log',
    'view any default log',
    'update own default log',
    'update any default log',
    'delete own default log',
    'delete any default log',
  ];
}