public function UserRevisionDeleteForm::getConfirmText in User Revision 8
Returns a caption for the button that confirms the action.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.
Overrides ConfirmFormBase::getConfirmText
File
- src/
Form/ UserRevisionDeleteForm.php, line 75
Class
- UserRevisionDeleteForm
- Provides a form for delete a user revision.
Namespace
Drupal\user_revision\FormCode
public function getConfirmText() {
return t('Delete');
}