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