You are here

protected function ProductBehaviorSettingsFormTest::getAdminPermissions in Rabbit Hole 2.x

Same name and namespace in other branches
  1. 8 modules/rh_commerce/tests/src/Functional/ProductBehaviorSettingsFormTest.php \Drupal\Tests\rh_commerce\Functional\ProductBehaviorSettingsFormTest::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_commerce/tests/src/Functional/ProductBehaviorSettingsFormTest.php, line 132

Class

ProductBehaviorSettingsFormTest
Test the functionality of the rabbit hole form additions to Commerce Product.

Namespace

Drupal\Tests\rh_commerce\Functional

Code

protected function getAdminPermissions() {
  return [
    'administer commerce_store',
    'administer commerce_product',
    'administer commerce_product_type',
  ];
}