You are here

public function FlaggingCollectionRevisionRevertForm::getConfirmText in Flag Lists 8

Same name and namespace in other branches
  1. 4.0.x 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\Form

Code

public function getConfirmText() {
  return $this
    ->t('Revert');
}