You are here

public function ActivityAnswerPluginBase::evaluatedOnSave in Opigno module 8

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

Indicates if answer should me evaluated on save or not.

Overrides ActivityAnswerPluginInterface::evaluatedOnSave

8 methods override ActivityAnswerPluginBase::evaluatedOnSave()
FileUploadActivityAnswer::evaluatedOnSave in ActivityTypes/opigno_file_upload/src/Plugin/ActivityAnswer/FileUploadActivityAnswer.php
Indicates if answer should me evaluated on save or not.
H5pActivityAnswer::evaluatedOnSave in ActivityTypes/opigno_h5p/src/Plugin/ActivityAnswer/H5pActivityAnswer.php
Indicates if answer should me evaluated on save or not.
LongAnswerActivityAnswer::evaluatedOnSave in ActivityTypes/opigno_long_answer/src/Plugin/ActivityAnswer/LongAnswerActivityAnswer.php
Indicates if answer should me evaluated on save or not.
ScormActivityAnswer::evaluatedOnSave in ActivityTypes/opigno_scorm_activity/src/Plugin/ActivityAnswer/ScormActivityAnswer.php
Indicates if answer should me evaluated on save or not.
SlideActivityAnswer::evaluatedOnSave in src/Plugin/ActivityAnswer/SlideActivityAnswer.php
Indicates if answer should me evaluated on save or not.

... See full list

File

src/ActivityAnswerPluginBase.php, line 38

Class

ActivityAnswerPluginBase
Class ActivityAnswerPluginBase.

Namespace

Drupal\opigno_module

Code

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