You are here

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

Same name and namespace in other branches
  1. 8 modules/rh_user/tests/src/Functional/UserBehaviorSettingsFormTest.php \Drupal\Tests\rh_user\Functional\UserBehaviorSettingsFormTest::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_user/tests/src/Functional/UserBehaviorSettingsFormTest.php, line 110

Class

UserBehaviorSettingsFormTest
Test the functionality of the rabbit hole form additions to the user entity.

Namespace

Drupal\Tests\rh_user\Functional

Code

protected function getAdminPermissions() {
  return [
    'administer account settings',
    'administer users',
  ];
}