public function YamlFormHandlerDeleteForm::getCancelUrl in YAML Form 8
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/ YamlFormHandlerDeleteForm.php, line 45
Class
- YamlFormHandlerDeleteForm
- Form for deleting a form handler.
Namespace
Drupal\yamlform\FormCode
public function getCancelUrl() {
return $this->yamlform
->toUrl('handlers-form');
}