You are here

public function PushNotificationDeleteForm::getCancelUrl in Push Notifications 8

If the delete command is canceled, return to the push notifications list.

Overrides ConfirmFormInterface::getCancelUrl

File

src/Form/PushNotificationDeleteForm.php, line 32
Contains Drupal\push_notifications\Form\PushNotificationDeleteForm.

Class

PushNotificationDeleteForm
Provides a form for deleting a push_notification entity.

Namespace

Drupal\push_notifications\Form

Code

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