private function LongChoiceProcessor::generateFooter in Opigno module 8
Same name and namespace in other branches
- 3.x ActivityTypes/opigno_h5p/src/TypeProcessors/LongChoiceProcessor.php \Drupal\opigno_h5p\TypeProcessors\LongChoiceProcessor::generateFooter()
Generate footer.
1 call to LongChoiceProcessor::generateFooter()
- LongChoiceProcessor::generateHTML in ActivityTypes/
opigno_h5p/ src/ TypeProcessors/ LongChoiceProcessor.php - Options for interaction and generates a human readable HTML report.
File
- ActivityTypes/
opigno_h5p/ src/ TypeProcessors/ LongChoiceProcessor.php, line 120
Class
- LongChoiceProcessor
- Class FillInProcessor.
Namespace
Drupal\opigno_h5p\TypeProcessorsCode
private function generateFooter() {
return '<div class="h5p-long-choice-footer">' . '<span class="h5p-long-choice-word h5p-long-choice-correct">' . t('Correct Answer') . '</span>' . '<span class="h5p-long-choice-word h5p-long-choice-answered h5p-long-choice-correct">' . t('Your correct answer') . '</span>' . '<span class="h5p-long-choice-word h5p-long-choice-answered">' . t('Your incorrect answer') . '</span>' . '</div>';
}