You are here

protected function GroupBehaviorSettingsFormTest::getAdminPermissions in Rabbit Hole 2.x

Same name and namespace in other branches
  1. 8 modules/rh_group/tests/src/Functional/GroupBehaviorSettingsFormTest.php \Drupal\Tests\rh_group\Functional\GroupBehaviorSettingsFormTest::getAdminPermissions()

Returns a list of admin permissions for current entity type.

Return value

array A list of admin permissions.

Overrides RabbitHoleBehaviorSettingsFormTestBase::getAdminPermissions

File

modules/rh_group/tests/src/Functional/GroupBehaviorSettingsFormTest.php, line 122

Class

GroupBehaviorSettingsFormTest
Test the functionality of the rabbit hole form additions to the Group.

Namespace

Drupal\Tests\rh_group\Functional

Code

protected function getAdminPermissions() {
  return [
    'administer group',
    'bypass group access',
    'access group overview',
  ];
}