You are here

protected function NodeBehaviorSettingsFormTest::getEditEntityUrl in Rabbit Hole 8

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

File

modules/rh_node/tests/src/Functional/NodeBehaviorSettingsFormTest.php, line 112

Class

NodeBehaviorSettingsFormTest
Test the functionality of the rabbit hole form additions to the node form.

Namespace

Drupal\Tests\rh_node\Functional

Code

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