You are here

public function PoolRequired::getCancelUrl in CMS Content Sync 8

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

Class

PoolRequired
Provides a node deletion confirmation form.

Namespace

Drupal\cms_content_sync\Form

Code

public function getCancelUrl() {
  return new Url('entity.cms_content_sync_flow.collection');
}