You are here

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

Same name and namespace in other branches
  1. 8 modules/rh_node/tests/src/Functional/NodeBehaviorSettingsFormTest.php \Drupal\Tests\rh_node\Functional\NodeBehaviorSettingsFormTest::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_node/tests/src/Functional/NodeBehaviorSettingsFormTest.php, line 126

Class

NodeBehaviorSettingsFormTest
Test the functionality of the rabbit hole form additions to the node form.

Namespace

Drupal\Tests\rh_node\Functional

Code

protected function getAdminPermissions() {
  return [
    'bypass node access',
    'administer content types',
  ];
}