You are here

public function YamlFormRequestInterface::getRouteParameters in YAML Form 8

Get the route parameters for a form/submission and source entity.

Parameters

\Drupal\Core\Entity\EntityInterface $yamlform_entity: A form or form submission.

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

Return value

array An array of route parameters.

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

File

src/YamlFormRequestInterface.php, line 79

Class

YamlFormRequestInterface
Provides an interface defining a form request handler.

Namespace

Drupal\yamlform

Code

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