protected function GroupBehaviorSettingsFormTest::getEditBundleUrl in Rabbit Hole 2.x
Same name and namespace in other branches
- 8 modules/rh_group/tests/src/Functional/GroupBehaviorSettingsFormTest.php \Drupal\Tests\rh_group\Functional\GroupBehaviorSettingsFormTest::getEditBundleUrl()
Returns URL of the "Edit" entity bundle page.
Parameters
string $bundle: Entity bundle id.
Return value
\Drupal\Core\Url URL object.
Overrides RabbitHoleBehaviorSettingsFormTestBase::getEditBundleUrl
File
- modules/
rh_group/ tests/ src/ Functional/ GroupBehaviorSettingsFormTest.php, line 115
Class
- GroupBehaviorSettingsFormTest
- Test the functionality of the rabbit hole form additions to the Group.
Namespace
Drupal\Tests\rh_group\FunctionalCode
protected function getEditBundleUrl($bundle) {
return Url::fromRoute('entity.group_type.edit_form', [
'group_type' => $bundle,
]);
}