You are here

public function SamlauthAuthmapDeleteForm::getCancelUrl in SAML Authentication 8.3

Same name and namespace in other branches
  1. 4.x src/Form/SamlauthAuthmapDeleteForm.php \Drupal\samlauth\Form\SamlauthAuthmapDeleteForm::getCancelUrl()

Returns the route to go to if the user cancels the action.

Return value

\Drupal\Core\Url A URL object.

Overrides ConfirmFormInterface::getCancelUrl

1 call to SamlauthAuthmapDeleteForm::getCancelUrl()
SamlauthAuthmapDeleteForm::submitForm in src/Form/SamlauthAuthmapDeleteForm.php
Form submission handler.

File

src/Form/SamlauthAuthmapDeleteForm.php, line 87

Class

SamlauthAuthmapDeleteForm
Confirm the user wants to delete an authmap entry.

Namespace

Drupal\samlauth\Form

Code

public function getCancelUrl() {
  return new Url('view.samlauth_map.page');
}