public function FlaggingCollectionRevisionRevertForm::getConfirmText in Flag Lists 4.0.x
Same name and namespace in other branches
- 8 src/Form/FlaggingCollectionRevisionRevertForm.php \Drupal\flag_lists\Form\FlaggingCollectionRevisionRevertForm::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/ FlaggingCollectionRevisionRevertForm.php, line 89
Class
- FlaggingCollectionRevisionRevertForm
- Provides a form for reverting a Flagging collection revision.
Namespace
Drupal\flag_lists\FormCode
public function getConfirmText() {
return $this
->t('Revert');
}