You are here

public function DeleteUpdateForm::getCancelUrl in Scheduled Publish 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

File

src/Form/DeleteUpdateForm.php, line 74
Contains \Drupal\scheduled_publish\Form\DeleteUpdateForm.

Class

DeleteUpdateForm

Namespace

Drupal\scheduled_publish\Form

Code

public function getCancelUrl() {
  return Url::fromRoute('view.scheduled_publish.page_1');
}