protected function NodeBehaviorSettingsFormTest::getAdminPermissions in Rabbit Hole 8
Same name and namespace in other branches
- 2.x 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\FunctionalCode
protected function getAdminPermissions() {
return [
'bypass node access',
'administer content types',
];
}