You are here

public function FlowPullConfirmation::getCancelUrl in CMS Content Sync 2.1.x

Same name and namespace in other branches
  1. 8 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 137

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');
}