You are here

public function SamlauthMappingDeleteForm::getCancelUrl in SAML Authentication 8.3

Same name and namespace in other branches
  1. 4.x modules/samlauth_user_fields/src/Form/SamlauthMappingDeleteForm.php \Drupal\samlauth_user_fields\Form\SamlauthMappingDeleteForm::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

modules/samlauth_user_fields/src/Form/SamlauthMappingDeleteForm.php, line 109

Class

SamlauthMappingDeleteForm
Form for deleting a mapping.

Namespace

Drupal\samlauth_user_fields\Form

Code

public function getCancelUrl() {
  return new Url('samlauth_user_fields.list');
}