You are here

public function ExportConfirmForm::getCancelUrl in Content Synchronizer 8

Same name and namespace in other branches
  1. 8.2 src/Form/ExportConfirmForm.php \Drupal\content_synchronizer\Form\ExportConfirmForm::getCancelUrl()
  2. 3.x src/Form/ExportConfirmForm.php \Drupal\content_synchronizer\Form\ExportConfirmForm::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/ExportConfirmForm.php, line 97

Class

ExportConfirmForm
Class ExportConfirmForm.

Namespace

Drupal\content_synchronizer\Form

Code

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