protected function GroupTypeFormTest::getGlobalPermissions in Group 8
Same name and namespace in other branches
- 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\FunctionalCode
protected function getGlobalPermissions() {
return [
'administer group',
] + parent::getGlobalPermissions();
}