public function WebformRequestInterface::getRouteParameters in Webform 6.x
Same name and namespace in other branches
- 8.5 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\webformCode
public function getRouteParameters(EntityInterface $webform_entity, EntityInterface $source_entity = NULL);