public function Oauth2TokenDeleteForm::getConfirmText in Simple OAuth (OAuth2) & OpenID Connect 8.3
Same name and namespace in other branches
- 8.4 src/Entity/Form/Oauth2TokenDeleteForm.php \Drupal\simple_oauth\Entity\Form\Oauth2TokenDeleteForm::getConfirmText()
- 8.2 src/Entity/Form/Oauth2TokenDeleteForm.php \Drupal\simple_oauth\Entity\Form\Oauth2TokenDeleteForm::getConfirmText()
- 5.x src/Entity/Form/Oauth2TokenDeleteForm.php \Drupal\simple_oauth\Entity\Form\Oauth2TokenDeleteForm::getConfirmText()
Returns a caption for the button that confirms the action.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.
Overrides ContentEntityConfirmFormBase::getConfirmText
File
- src/
Entity/ Form/ Oauth2TokenDeleteForm.php, line 74
Class
- Oauth2TokenDeleteForm
- Provides a form for deleting Access Token entities.
Namespace
Drupal\simple_oauth\Entity\FormCode
public function getConfirmText() {
return $this
->t('Delete');
}