public function ILTResultDeleteForm::getQuestion in Opigno Instructor-led Trainings 8
Same name and namespace in other branches
- 3.x src/Form/ILTResultDeleteForm.php \Drupal\opigno_ilt\Form\ILTResultDeleteForm::getQuestion()
Returns the question to ask the user.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form question. The page title will be set to this value.
Overrides ConfirmFormInterface::getQuestion
File
- src/
Form/ ILTResultDeleteForm.php, line 17
Class
- ILTResultDeleteForm
- Provides a form for deleting a opigno_ilt_result entity.
Namespace
Drupal\opigno_ilt\FormCode
public function getQuestion() {
return $this
->t('Are you sure you want to delete the %result Instructor-Led Training Result?', [
'%result' => $this->entity
->label(),
]);
}