You are here

public function ResetPresetsConfirmForm::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 ResetPresetsConfirmForm::getCancelUrl()
ResetPresetsConfirmForm::submitForm in src/Form/ResetPresetsConfirmForm.php
Form submission handler.

File

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

Class

ResetPresetsConfirmForm

Namespace

Drupal\easychart\Form

Code

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