You are here

public function PushNotificationsTokenDeleteForm::getCancelUrl in Push Notifications 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

src/Form/PushNotificationsTokenDeleteForm.php, line 31
Contains \Drupal\push_notifications\Form\PushNotificationsTokenDeleteForm.

Class

PushNotificationsTokenDeleteForm
Provides a form for deleting a push_notifications_token entity.

Namespace

Drupal\push_notifications\Form

Code

public function getCancelUrl() {
  return new Url('push_notifications.token.collection');
}