You are here

protected function UserBehaviorSettingsFormTest::getEditBundleUrl in Rabbit Hole 2.x

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

Returns URL of the "Edit" entity bundle page.

Parameters

string $bundle: Entity bundle id.

Return value

\Drupal\Core\Url URL object.

Overrides RabbitHoleBehaviorSettingsFormTestBase::getEditBundleUrl

File

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

Class

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

Namespace

Drupal\Tests\rh_user\Functional

Code

protected function getEditBundleUrl($bundle) {
  return Url::fromRoute('entity.user.admin_form');
}