You are here

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

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

Class

ResetStatusEntityConfirmation
Provides the confirmation form for the pool reset entity status action.

Namespace

Drupal\cms_content_sync\Form

Code

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