You are here

public function DeleteAchievementsForm::getConfirmText in Opigno Learning path 3.x

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

Class

DeleteAchievementsForm
Class LearningPathAdminSettingsForm.

Namespace

Drupal\opigno_learning_path\Form

Code

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