function 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\Form

Code

public function getCancelUrl() {
  return new Url('tabledrag_example.description');
}