You are here

public function ILTResultDeleteForm::getConfirmText in Opigno Instructor-led Trainings 8

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

Returns a caption for the button that confirms the action.

Return value

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

Overrides ContentEntityConfirmFormBase::getConfirmText

File

src/Form/ILTResultDeleteForm.php, line 26

Class

ILTResultDeleteForm
Provides a form for deleting a opigno_ilt_result entity.

Namespace

Drupal\opigno_ilt\Form

Code

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