abstract protected function RabbitHoleBehaviorSettingsFormTestBase::getAdminPermissions in Rabbit Hole 8
Same name and namespace in other branches
- 2.x tests/src/Functional/RabbitHoleBehaviorSettingsFormTestBase.php \Drupal\Tests\rabbit_hole\Functional\RabbitHoleBehaviorSettingsFormTestBase::getAdminPermissions()
Returns a list of admin permissions for current entity type.
Return value
array A list of admin permissions.
2 calls to RabbitHoleBehaviorSettingsFormTestBase::getAdminPermissions()
- RabbitHoleBehaviorSettingsFormTestBase::setUp in tests/
src/ Functional/ RabbitHoleBehaviorSettingsFormTestBase.php - RabbitHoleBehaviorSettingsFormTestBase::testAdministerPermission in tests/
src/ Functional/ RabbitHoleBehaviorSettingsFormTestBase.php - Test the "rabbit hole administer *" permission.
6 methods override RabbitHoleBehaviorSettingsFormTestBase::getAdminPermissions()
- GroupBehaviorSettingsFormTest::getAdminPermissions in modules/
rh_group/ tests/ src/ Functional/ GroupBehaviorSettingsFormTest.php - Returns a list of admin permissions for current entity type.
- MediaBehaviorSettingsFormTest::getAdminPermissions in modules/
rh_media/ tests/ src/ Functional/ MediaBehaviorSettingsFormTest.php - Returns a list of admin permissions for current entity type.
- NodeBehaviorSettingsFormTest::getAdminPermissions in modules/
rh_node/ tests/ src/ Functional/ NodeBehaviorSettingsFormTest.php - Returns a list of admin permissions for current entity type.
- ProductBehaviorSettingsFormTest::getAdminPermissions in modules/
rh_commerce/ tests/ src/ Functional/ ProductBehaviorSettingsFormTest.php - Returns a list of admin permissions for current entity type.
- TaxonomyBehaviorSettingsFormTest::getAdminPermissions in modules/
rh_taxonomy/ tests/ src/ Functional/ TaxonomyBehaviorSettingsFormTest.php - Returns a list of admin permissions for current entity type.
File
- tests/
src/ Functional/ RabbitHoleBehaviorSettingsFormTestBase.php, line 429
Class
- RabbitHoleBehaviorSettingsFormTestBase
- Base class for the Rabbit Hole form additions tests.
Namespace
Drupal\Tests\rabbit_hole\FunctionalCode
protected abstract function getAdminPermissions();