You are here

public function DeleteAchievementsForm::getDescription 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::getDescription()

Returns additional text to display as a description.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The form description.

Overrides ConfirmFormBase::getDescription

File

src/Form/DeleteAchievementsForm.php, line 97

Class

DeleteAchievementsForm
Class LearningPathAdminSettingsForm.

Namespace

Drupal\opigno_learning_path\Form

Code

public function getDescription() {
  return $this
    ->t('The contents of that training has changed. If you start again that training, your previous achievements for it will be deleted. Do you want to continue?');
}