You are here

public function TrueFalseActivityAnswer::evaluatedOnSave in Opigno module 3.x

Same name and namespace in other branches
  1. 8 src/Plugin/ActivityAnswer/TrueFalseActivityAnswer.php \Drupal\opigno_module\Plugin\ActivityAnswer\TrueFalseActivityAnswer::evaluatedOnSave()

Indicates if answer should me evaluated on save or not.

Overrides ActivityAnswerPluginBase::evaluatedOnSave

File

src/Plugin/ActivityAnswer/TrueFalseActivityAnswer.php, line 21

Class

TrueFalseActivityAnswer
Class TrueFalseActivityAnswer.

Namespace

Drupal\opigno_module\Plugin\ActivityAnswer

Code

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