You are here

public function H5pActivityAnswer::evaluatedOnSave in Opigno module 8

Same name and namespace in other branches
  1. 3.x ActivityTypes/opigno_h5p/src/Plugin/ActivityAnswer/H5pActivityAnswer.php \Drupal\opigno_h5p\Plugin\ActivityAnswer\H5pActivityAnswer::evaluatedOnSave()

Indicates if answer should me evaluated on save or not.

Overrides ActivityAnswerPluginBase::evaluatedOnSave

File

ActivityTypes/opigno_h5p/src/Plugin/ActivityAnswer/H5pActivityAnswer.php, line 21

Class

H5pActivityAnswer
Class H5pActivityAnswer.

Namespace

Drupal\opigno_h5p\Plugin\ActivityAnswer

Code

public function evaluatedOnSave(OpignoActivityInterface $activity) {
  return TRUE;
}