You are here

public function ActivityAnswerPluginBase::getScore in Opigno module 8

Same name and namespace in other branches
  1. 3.x src/ActivityAnswerPluginBase.php \Drupal\opigno_module\ActivityAnswerPluginBase::getScore()

Score logic for specified activity.

Overrides ActivityAnswerPluginInterface::getScore

8 methods override ActivityAnswerPluginBase::getScore()
FileUploadActivityAnswer::getScore in ActivityTypes/opigno_file_upload/src/Plugin/ActivityAnswer/FileUploadActivityAnswer.php
Score logic for specified activity.
H5pActivityAnswer::getScore in ActivityTypes/opigno_h5p/src/Plugin/ActivityAnswer/H5pActivityAnswer.php
Score logic for specified activity.
LongAnswerActivityAnswer::getScore in ActivityTypes/opigno_long_answer/src/Plugin/ActivityAnswer/LongAnswerActivityAnswer.php
Score logic for specified activity.
ScormActivityAnswer::getScore in ActivityTypes/opigno_scorm_activity/src/Plugin/ActivityAnswer/ScormActivityAnswer.php
Score logic for specified activity.
SlideActivityAnswer::getScore in src/Plugin/ActivityAnswer/SlideActivityAnswer.php
Score logic for specified activity.

... See full list

File

src/ActivityAnswerPluginBase.php, line 45

Class

ActivityAnswerPluginBase
Class ActivityAnswerPluginBase.

Namespace

Drupal\opigno_module

Code

public function getScore(OpignoAnswerInterface $answer) {
  return 0;
}