public function ServerDeleteConfirmForm::getConfirmText in OAuth2 Server 8
Same name and namespace in other branches
- 2.0.x src/Form/ServerDeleteConfirmForm.php \Drupal\oauth2_server\Form\ServerDeleteConfirmForm::getConfirmText()
Returns a caption for the button that confirms the action.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.
Overrides EntityConfirmFormBase::getConfirmText
File
- src/
Form/ ServerDeleteConfirmForm.php, line 40
Class
- ServerDeleteConfirmForm
- Class Server Delete Confirm Form.
Namespace
Drupal\oauth2_server\FormCode
public function getConfirmText() {
return $this
->t('Delete');
}