You are here

public function PushChangesConfirm::getCancelUrl in CMS Content Sync 2.0.x

Same name and namespace in other branches
  1. 8 src/Form/PushChangesConfirm.php \Drupal\cms_content_sync\Form\PushChangesConfirm::getCancelUrl()
  2. 2.1.x src/Form/PushChangesConfirm.php \Drupal\cms_content_sync\Form\PushChangesConfirm::getCancelUrl()

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/PushChangesConfirm.php, line 91

Class

PushChangesConfirm
Provides a node deletion confirmation form.

Namespace

Drupal\cms_content_sync\Form

Code

public function getCancelUrl() {
  return new Url('system.admin_content');
}