function ModerationFormTest::getAdministratorPermissions

File

core/modules/content_moderation/tests/src/Functional/ModerationFormTest.php, line 38

Class

ModerationFormTest
Tests the moderation form, specifically on nodes.

Namespace

Drupal\Tests\content_moderation\Functional

Code

protected function getAdministratorPermissions() : array {
    return array_merge($this->permissions, [
        'administer entity_test content',
        'view test entity',
        'translate any entity',
        'bypass node access',
    ]);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.