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