protected function ProductBehaviorSettingsFormTest::getAdminPermissions in Rabbit Hole 8
Same name and namespace in other branches
- 2.x 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\FunctionalCode
protected function getAdminPermissions() {
return [
'administer commerce_store',
'administer commerce_product',
'administer commerce_product_type',
];
}