You are here

protected function RabbitHoleBehaviorInvocationTestBase::getViewPermissions in Rabbit Hole 2.x

Same name and namespace in other branches
  1. 8 tests/src/Functional/RabbitHoleBehaviorInvocationTestBase.php \Drupal\Tests\rabbit_hole\Functional\RabbitHoleBehaviorInvocationTestBase::getViewPermissions()

A list of permissions required to access the entity page.

Return value

array A list of permissions.

2 calls to RabbitHoleBehaviorInvocationTestBase::getViewPermissions()
RabbitHoleBehaviorInvocationTestBase::setUp in tests/src/Functional/RabbitHoleBehaviorInvocationTestBase.php
RabbitHoleBehaviorInvocationTestBase::testRabbitHoleBypassPermissions in tests/src/Functional/RabbitHoleBehaviorInvocationTestBase.php
Test "rabbit hole bypass *" permissions.
2 methods override RabbitHoleBehaviorInvocationTestBase::getViewPermissions()
GroupBehaviorInvocationTest::getViewPermissions in modules/rh_group/tests/src/Functional/GroupBehaviorInvocationTest.php
A list of permissions required to access the entity page.
UserBehaviorInvocationTest::getViewPermissions in modules/rh_user/tests/src/Functional/UserBehaviorInvocationTest.php
A list of permissions required to access the entity page.

File

tests/src/Functional/RabbitHoleBehaviorInvocationTestBase.php, line 152

Class

RabbitHoleBehaviorInvocationTestBase
Base class for the rabbit hole behaviors invocation tests.

Namespace

Drupal\Tests\rabbit_hole\Functional

Code

protected function getViewPermissions() {
  return [];
}