You are here

public function AdminActionConfirm::getCancelUrl in Calendar Systems 8.2

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

Return value

\Drupal\Core\Url A URL object.

Overrides ConfirmFormInterface::getCancelUrl

File

src/Form/AdminActionConfirm.php, line 51
Contains Drupal\CalendarSystems\Form\AdminSettings.

Class

AdminActionConfirm

Namespace

Drupal\calendar_systems\Form

Code

public function getCancelUrl() {
  return new Url('calendar_systems.admin');
}