You are here

protected function GroupTypeFormTest::getGlobalPermissions in Group 8

Same name and namespace in other branches
  1. 2.0.x tests/src/Functional/GroupTypeFormTest.php \Drupal\Tests\group\Functional\GroupTypeFormTest::getGlobalPermissions()

Gets the global (site) permissions for the group creator.

Return value

string[] The permissions.

Overrides GroupBrowserTestBase::getGlobalPermissions

File

tests/src/Functional/GroupTypeFormTest.php, line 33

Class

GroupTypeFormTest
Tests the behavior of the group type form.

Namespace

Drupal\Tests\group\Functional

Code

protected function getGlobalPermissions() {
  return [
    'administer group',
  ] + parent::getGlobalPermissions();
}