public function TrueFalseProcessor::generateHTML in Opigno module 3.x
Same name and namespace in other branches
- 8 ActivityTypes/opigno_h5p/src/TypeProcessors/TrueFalseProcessor.php \Drupal\opigno_h5p\TypeProcessors\TrueFalseProcessor::generateHTML()
Options for interaction and generates a human readable HTML report.
@inheritdoc
Overrides TypeProcessor::generateHTML
File
- ActivityTypes/
opigno_h5p/ src/ TypeProcessors/ TrueFalseProcessor.php, line 17
Class
- TrueFalseProcessor
- Class FillInProcessor.
Namespace
Drupal\opigno_h5p\TypeProcessorsCode
public function generateHTML($description, $crp, $response, $extras = NULL, $scoreSettings = NULL) {
// We need some style for our report.
$this
->setStyle('opigno_h5p/opigno_h5p.true-false');
return $this
->getContent($description, $crp, $response, $scoreSettings) . $this
->generateFooter();
}