You are here

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

Same name and namespace in other branches
  1. 8 src/Form/FlowPushConfirmation.php \Drupal\cms_content_sync\Form\FlowPushConfirmation::getCancelUrl()
  2. 2.1.x src/Form/FlowPushConfirmation.php \Drupal\cms_content_sync\Form\FlowPushConfirmation::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/FlowPushConfirmation.php, line 138

Class

FlowPushConfirmation
Provides a pool pull all confirmation page.

Namespace

Drupal\cms_content_sync\Form

Code

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