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