public function PetRevisionRevertForm::getConfirmText in Previewable email templates 8.3
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/ PetRevisionRevertForm.php, line 89
Class
- PetRevisionRevertForm
- Provides a form for reverting a Pet revision.
Namespace
Drupal\pet\FormCode
public function getConfirmText() {
return t('Revert');
}