You are here

protected function GroupBehaviorSettingsFormTest::getEditBundleUrl in Rabbit Hole 8

Same name and namespace in other branches
  1. 2.x modules/rh_group/tests/src/Functional/GroupBehaviorSettingsFormTest.php \Drupal\Tests\rh_group\Functional\GroupBehaviorSettingsFormTest::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_group/tests/src/Functional/GroupBehaviorSettingsFormTest.php, line 115

Class

GroupBehaviorSettingsFormTest
Test the functionality of the rabbit hole form additions to the Group.

Namespace

Drupal\Tests\rh_group\Functional

Code

protected function getEditBundleUrl($bundle) {
  return Url::fromRoute('entity.group_type.edit_form', [
    'group_type' => $bundle,
  ]);
}