You are here

protected function TaxonomyBehaviorSettingsFormTest::getAdminPermissions in Rabbit Hole 8

Same name and namespace in other branches
  1. 2.x 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\Functional

Code

protected function getAdminPermissions() {
  return [
    'administer taxonomy',
    'access taxonomy overview',
  ];
}