protected function TaxonomyBehaviorSettingsFormTest::getAdminPermissions in Rabbit Hole 2.x
Same name and namespace in other branches
- 8 modules/rh_taxonomy/tests/src/Functional/TaxonomyBehaviorSettingsFormTest.php \Drupal\Tests\rh_taxonomy\Functional\TaxonomyBehaviorSettingsFormTest::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_taxonomy/ tests/ src/ Functional/ TaxonomyBehaviorSettingsFormTest.php, line 101
Class
- TaxonomyBehaviorSettingsFormTest
- Test the functionality of the rabbit hole form additions to the taxonomy.
Namespace
Drupal\Tests\rh_taxonomy\FunctionalCode
protected function getAdminPermissions() {
return [
'administer taxonomy',
'access taxonomy overview',
];
}