You are here

protected function GroupBrowserTestBase::getGlobalPermissions in Group 8

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

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

Return value

string[] The permissions.

2 calls to GroupBrowserTestBase::getGlobalPermissions()
GroupBrowserTestBase::setUp in tests/src/Functional/GroupBrowserTestBase.php
GroupTypeFormTest::getGlobalPermissions in tests/src/Functional/GroupTypeFormTest.php
Gets the global (site) permissions for the group creator.
1 method overrides GroupBrowserTestBase::getGlobalPermissions()
GroupTypeFormTest::getGlobalPermissions in tests/src/Functional/GroupTypeFormTest.php
Gets the global (site) permissions for the group creator.

File

tests/src/Functional/GroupBrowserTestBase.php, line 52

Class

GroupBrowserTestBase
Provides a base class for Group functional tests.

Namespace

Drupal\Tests\group\Functional

Code

protected function getGlobalPermissions() {
  return [
    'view the administration theme',
    'access administration pages',
    'access group overview',
    'create default group',
    'create other group',
  ];
}