You are here

public function OpignoActivityRevisionDeleteForm::getConfirmText in Opigno module 8

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

Class

OpignoActivityRevisionDeleteForm
Provides a form for deleting a Answer revision.

Namespace

Drupal\opigno_module\Form

Code

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