public function AccessTokenDeleteForm::getConfirmText in Simple OAuth (OAuth2) & OpenID Connect 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/
Entity/ Form/ AccessTokenDeleteForm.php, line 34
Class
- AccessTokenDeleteForm
- Provides a form for deleting Access Token entities.
Namespace
Drupal\simple_oauth\Entity\FormCode
public function getConfirmText() {
return $this
->t('Delete');
}