You are here

public function OpignoAnswerTypeDeleteForm::getConfirmText in Opigno module 8

Same name and namespace in other branches
  1. 3.x src/Form/OpignoAnswerTypeDeleteForm.php \Drupal\opigno_module\Form\OpignoAnswerTypeDeleteForm::getConfirmText()

Returns a caption for the button that confirms the action.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.

Overrides EntityConfirmFormBase::getConfirmText

File

src/Form/OpignoAnswerTypeDeleteForm.php, line 31

Class

OpignoAnswerTypeDeleteForm
Builds the form to delete Answer type entities.

Namespace

Drupal\opigno_module\Form

Code

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