public function TableDragExampleResetForm::getCancelUrl in Examples for Developers 3.x
Same name and namespace in other branches
- 8 tabledrag_example/src/Form/TableDragExampleResetForm.php \Drupal\tabledrag_example\Form\TableDragExampleResetForm::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
- modules/
tabledrag_example/ src/ Form/ TableDragExampleResetForm.php, line 60
Class
- TableDragExampleResetForm
- Table drag example reset form.
Namespace
Drupal\tabledrag_example\FormCode
public function getCancelUrl() {
return new Url('tabledrag_example.description');
}