You are here

public function OpignoActivityRevisionRevertForm::getConfirmText in Opigno module 8

Same name and namespace in other branches
  1. 3.x src/Form/OpignoActivityRevisionRevertForm.php \Drupal\opigno_module\Form\OpignoActivityRevisionRevertForm::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/OpignoActivityRevisionRevertForm.php, line 93

Class

OpignoActivityRevisionRevertForm
Provides a form for reverting a Answer revision.

Namespace

Drupal\opigno_module\Form

Code

public function getConfirmText() {
  return t('Revert');
}