public function WebformRequestInterface::getRouteName in Webform 6.x
Same name and namespace in other branches
- 8.5 src/WebformRequestInterface.php \Drupal\webform\WebformRequestInterface::getRouteName()
Get the route name 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.
Return value
string A route name prefixed with 'entity.{entity_type_id}' or just 'entity'.
1 method overrides WebformRequestInterface::getRouteName()
- WebformRequest::getRouteName in src/
WebformRequest.php - Get the route name for a form/submission and source entity.
File
- src/
WebformRequestInterface.php, line 130
Class
- WebformRequestInterface
- Provides an interface defining a webform request handler.
Namespace
Drupal\webformCode
public function getRouteName(EntityInterface $webform_entity, EntityInterface $source_entity = NULL, $route_name);