You are here

protected function NodeBehaviorSettingsFormTest::getCreateEntityUrl in Rabbit Hole 2.x

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

Returns URL of the "Create" entity page.

Return value

\Drupal\Core\Url URL object.

Overrides RabbitHoleBehaviorSettingsFormTestBase::getCreateEntityUrl

File

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

Class

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

Namespace

Drupal\Tests\rh_node\Functional

Code

protected function getCreateEntityUrl() {
  return Url::fromRoute('node.add_page');
}