You are here

protected function UserBehaviorSettingsFormTest::getCreateEntityUrl 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::getCreateEntityUrl()

Returns URL of the "Create" entity page.

Return value

\Drupal\Core\Url URL object.

Overrides RabbitHoleBehaviorSettingsFormTestBase::getCreateEntityUrl

File

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

Class

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

Namespace

Drupal\Tests\rh_user\Functional

Code

protected function getCreateEntityUrl() {
  return Url::fromRoute('user.admin_create');
}