You are here

public function OpignoAnswerRevisionDeleteForm::getConfirmText in Opigno module 3.x

Same name and namespace in other branches
  1. 8 src/Form/OpignoAnswerRevisionDeleteForm.php \Drupal\opigno_module\Form\OpignoAnswerRevisionDeleteForm::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/OpignoAnswerRevisionDeleteForm.php, line 91

Class

OpignoAnswerRevisionDeleteForm
Provides a form for deleting a Answer revision.

Namespace

Drupal\opigno_module\Form

Code

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