You are here

public function DeleteAchievementsForm::getConfirmText in Opigno Learning path 8

Same name and namespace in other branches
  1. 3.x 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');
}