You are here

public function CorrespondingReferenceSyncForm::getCancelUrl in Corresponding Entity References 8.4

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/CorrespondingReferenceSyncForm.php, line 26

Class

CorrespondingReferenceSyncForm
Form handler for corresponding reference sync form.

Namespace

Drupal\cer\Form

Code

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