protected function ProductBehaviorSettingsFormTest::getEditEntityUrl in Rabbit Hole 2.x
Same name and namespace in other branches
- 8 modules/rh_commerce/tests/src/Functional/ProductBehaviorSettingsFormTest.php \Drupal\Tests\rh_commerce\Functional\ProductBehaviorSettingsFormTest::getEditEntityUrl()
File
- modules/
rh_commerce/ tests/ src/ Functional/ ProductBehaviorSettingsFormTest.php, line 118
Class
- ProductBehaviorSettingsFormTest
- Test the functionality of the rabbit hole form additions to Commerce Product.
Namespace
Drupal\Tests\rh_commerce\FunctionalCode
protected function getEditEntityUrl($id) {
return Url::fromRoute('entity.commerce_product.edit_form', [
'commerce_product' => $id,
]);
}