You are here

public function EventSeriesUpdateConfirmForm::getCancelUrl in Booking and Availability Management Tools for Drupal 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

modules/bat_event_series/src/Entity/Form/EventSeriesUpdateConfirmForm.php, line 69
Contains \Drupal\bat_event_series\Entity\Form\EventSeriesUpdateConfirmForm.

Class

EventSeriesUpdateConfirmForm

Namespace

Drupal\bat_event_series\Entity\Form

Code

public function getCancelUrl() {
  return new Url('entity.bat_event_series.collection');
}