You are here

protected function EmbeddedScheduledUpdateTypeTestBase::getEntityAddURL in Scheduled Updates 8

Get the URL for adding an entity.

Hard-coded for node style path now

Parameters

string $entity_type:

string $bundle:

Return value

string

1 call to EmbeddedScheduledUpdateTypeTestBase::getEntityAddURL()
EmbeddedScheduledUpdateTypeTestBase::createNodeWithUpdate in tests/src/FunctionalJavascript/EmbeddedScheduledUpdateTypeTestBase.php

File

tests/src/FunctionalJavascript/EmbeddedScheduledUpdateTypeTestBase.php, line 160
Contains \Drupal\Tests\scheduled_updates\EmbeddedScheduledUpdateTypeTestBase.

Class

EmbeddedScheduledUpdateTypeTestBase
Base test class for embedded update types.

Namespace

Drupal\Tests\scheduled_updates\FunctionalJavascript

Code

protected function getEntityAddURL($entity_type, $bundle) {
  return "{$entity_type}/add/{$bundle}";
}