public function GauthRevokeForm::getConfirmText in Google Auth 8
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/
Form/ GauthRevokeForm.php, line 35
Class
- GauthRevokeForm
- Provides a form for revoking a gauth entity.
Namespace
Drupal\gauth\FormCode
public function getConfirmText() {
return "Revoke";
}