public function OpignoAnswerRevisionRevertForm::getConfirmText in Opigno module 8
Same name and namespace in other branches
- 3.x 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');
}