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