You are here

public function FlowPullConfirmation::getCancelUrl in CMS Content Sync 8

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

Class

FlowPullConfirmation
Provides a pool pull all confirmation page.

Namespace

Drupal\cms_content_sync\Form

Code

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