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