You are here

public function WebformRequestInterface::getUrl in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/WebformRequestInterface.php \Drupal\webform\WebformRequestInterface::getUrl()

Get the URL for a form/submission and source entity.

Parameters

\Drupal\Core\Entity\EntityInterface $webform_entity: A webform or webform submission.

\Drupal\Core\Entity\EntityInterface|null $source_entity: A webform submission's source entity.

string $route_name: The route name.

array $route_options: The route options.

Return value

\Drupal\Core\Url The URL for a form/submission and source entity.

1 method overrides WebformRequestInterface::getUrl()
WebformRequest::getUrl in src/WebformRequest.php
Get the URL for a form/submission and source entity.

File

src/WebformRequestInterface.php, line 114

Class

WebformRequestInterface
Provides an interface defining a webform request handler.

Namespace

Drupal\webform

Code

public function getUrl(EntityInterface $webform_entity, EntityInterface $source_entity = NULL, $route_name, array $route_options = []);