You are here

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

Same name and namespace in other branches
  1. 8 modules/rh_taxonomy/tests/src/Functional/TaxonomyBehaviorSettingsFormTest.php \Drupal\Tests\rh_taxonomy\Functional\TaxonomyBehaviorSettingsFormTest::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_taxonomy/tests/src/Functional/TaxonomyBehaviorSettingsFormTest.php, line 94

Class

TaxonomyBehaviorSettingsFormTest
Test the functionality of the rabbit hole form additions to the taxonomy.

Namespace

Drupal\Tests\rh_taxonomy\Functional

Code

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