You are here

public function SimpleUserConfirmImportForm::getCancelUrl in Simple Node Importer 8

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/SimpleUserConfirmImportForm.php, line 153

Class

SimpleUserConfirmImportForm
Defines a confirmation form to confirm deletion of something by id.

Namespace

Drupal\simple_node_importer\Form

Code

public function getCancelUrl() {
  $parameters = $this->sessionVariable
    ->get('parameters');
  return new Url('simple_node_importer.user_mapping_form', $parameters);
}