You are here

protected function MediaBehaviorSettingsFormTest::getEditEntityUrl in Rabbit Hole 8

Same name and namespace in other branches
  1. 2.x modules/rh_media/tests/src/Functional/MediaBehaviorSettingsFormTest.php \Drupal\Tests\rh_media\Functional\MediaBehaviorSettingsFormTest::getEditEntityUrl()

File

modules/rh_media/tests/src/Functional/MediaBehaviorSettingsFormTest.php, line 104

Class

MediaBehaviorSettingsFormTest
Test the functionality of the rabbit hole form additions to the media.

Namespace

Drupal\Tests\rh_media\Functional

Code

protected function getEditEntityUrl($id) {
  return Url::fromRoute('entity.media.edit_form', [
    'media' => $id,
  ]);
}