You are here

public function ResetTemplatesConfirmForm::getCancelUrl in Easychart 8.3

Returns the route to go to if the user cancels the action.

Return value

\Drupal\Core\Url A URL object.

Overrides ConfirmFormInterface::getCancelUrl

1 call to ResetTemplatesConfirmForm::getCancelUrl()
ResetTemplatesConfirmForm::submitForm in src/Form/ResetTemplatesConfirmForm.php
Form submission handler.

File

src/Form/ResetTemplatesConfirmForm.php, line 33
Contains \Drupal\easychart\ResetTemplatesConfirmForm

Class

ResetTemplatesConfirmForm

Namespace

Drupal\easychart\Form

Code

public function getCancelUrl() {
  return new Url('easychart.templates');
}