You are here

protected function TypeProcessor::getDescription in Opigno module 8

Same name and namespace in other branches
  1. 3.x ActivityTypes/opigno_h5p/src/TypeProcessors/TypeProcessor.php \Drupal\opigno_h5p\TypeProcessors\TypeProcessor::getDescription()

Decode and retrieve 'en-US' description from xAPI data.

1 call to TypeProcessor::getDescription()
TypeProcessor::generateReport in ActivityTypes/opigno_h5p/src/TypeProcessors/TypeProcessor.php
Generate HTML for report.

File

ActivityTypes/opigno_h5p/src/TypeProcessors/TypeProcessor.php, line 156

Class

TypeProcessor
Class TypeProcessor.

Namespace

Drupal\opigno_h5p\TypeProcessors

Code

protected function getDescription($xapiData) {
  return $xapiData->description;
}