You are here

public function IdpDeleteForm::getCancelUrl in SAML Service Provider 3.x

Same name and namespace in other branches
  1. 8.3 src/Form/IdpDeleteForm.php \Drupal\saml_sp\Form\IdpDeleteForm::getCancelUrl()
  2. 8.2 src/Form/IdpDeleteForm.php \Drupal\saml_sp\Form\IdpDeleteForm::getCancelUrl()
  3. 4.x src/Form/IdpDeleteForm.php \Drupal\saml_sp\Form\IdpDeleteForm::getCancelUrl()

Overrides EntityDeleteFormTrait::getCancelUrl

1 call to IdpDeleteForm::getCancelUrl()
IdpDeleteForm::submitForm in src/Form/IdpDeleteForm.php

File

src/Form/IdpDeleteForm.php, line 37

Class

IdpDeleteForm
Provides the user interface for deleting an IdP.

Namespace

Drupal\saml_sp\Form

Code

public function getCancelUrl() {

  // This needs to be a valid route otherwise the cancel link won't appear.
  return new Url('entity.idp.collection');
}