You are here

public function IdpDeleteForm::getCancelText in SAML Service Provider 4.x

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

Returns a caption for the link which cancels the action.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The form cancellation text.

Overrides EntityConfirmFormBase::getCancelText

File

src/Form/IdpDeleteForm.php, line 59

Class

IdpDeleteForm
Provides the user interface for deleting an IdP.

Namespace

Drupal\saml_sp\Form

Code

public function getCancelText() {
  return $this
    ->t('Nevermind');
}