protected function GroupBehaviorInvocationTest::getViewPermissions in Rabbit Hole 2.x
Same name and namespace in other branches
- 8 modules/rh_group/tests/src/Functional/GroupBehaviorInvocationTest.php \Drupal\Tests\rh_group\Functional\GroupBehaviorInvocationTest::getViewPermissions()
A list of permissions required to access the entity page.
Return value
array A list of permissions.
Overrides RabbitHoleBehaviorInvocationTestBase::getViewPermissions
File
- modules/
rh_group/ tests/ src/ Functional/ GroupBehaviorInvocationTest.php, line 81
Class
- GroupBehaviorInvocationTest
- Test that rabbit hole behaviors are invoked correctly for groups.
Namespace
Drupal\Tests\rh_group\FunctionalCode
protected function getViewPermissions() {
return [
'bypass group access',
];
}