You are here

protected function UserBehaviorSettingsFormTest::getEditEntityUrl in Rabbit Hole 8

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

File

modules/rh_user/tests/src/Functional/UserBehaviorSettingsFormTest.php, line 96

Class

UserBehaviorSettingsFormTest
Test the functionality of the rabbit hole form additions to the user entity.

Namespace

Drupal\Tests\rh_user\Functional

Code

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