You are here

public function WebformRequestInterface::getRouteParameters in Webform 8.5

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

Get the route parameters 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.

Return value

array An array of route parameters.

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

File

src/WebformRequestInterface.php, line 143

Class

WebformRequestInterface
Provides an interface defining a webform request handler.

Namespace

Drupal\webform

Code

public function getRouteParameters(EntityInterface $webform_entity, EntityInterface $source_entity = NULL);