public function OpignoAnswerRevisionRevertForm::getConfirmText in Opigno module 3.x
Same name and namespace in other branches
- 8 src/Form/OpignoAnswerRevisionRevertForm.php \Drupal\opigno_module\Form\OpignoAnswerRevisionRevertForm::getConfirmText()
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/ OpignoAnswerRevisionRevertForm.php, line 89
Class
- OpignoAnswerRevisionRevertForm
- Provides a form for reverting a Answer revision.
Namespace
Drupal\opigno_module\FormCode
public function getConfirmText() {
return t('Revert');
}