public function WebformResultsClearForm::getCancelUrl in Webform 6.x
Same name and namespace in other branches
- 8.5 src/Form/WebformResultsClearForm.php \Drupal\webform\Form\WebformResultsClearForm::getCancelUrl()
Returns the route to go to if the user cancels the action.
Return value
\Drupal\Core\Url A URL object.
Overrides ConfirmFormInterface::getCancelUrl
File
- src/
Form/ WebformResultsClearForm.php, line 100
Class
- WebformResultsClearForm
- Webform for webform results clear webform.
Namespace
Drupal\webform\FormCode
public function getCancelUrl() {
return $this->requestHandler
->getUrl($this->webform, $this->sourceEntity, 'webform.results_submissions');
}