public function QuizResultAnswerEntityTrait::isEvaluated in Quiz 6.x
Same name and namespace in other branches
- 8.6 src/Entity/QuizResultAnswerEntityTrait.php \Drupal\quiz\Entity\QuizResultAnswerEntityTrait::isEvaluated()
- 8.5 src/Entity/QuizResultAnswerEntityTrait.php \Drupal\quiz\Entity\QuizResultAnswerEntityTrait::isEvaluated()
3 calls to QuizResultAnswerEntityTrait::isEvaluated()
- LongAnswerResponse::getFeedbackValues in question_types/
quiz_long_answer/ src/ Plugin/ quiz/ QuizQuestion/ LongAnswerResponse.php - QuizResultAnswerEntityTrait::getReportFormScore in src/
Entity/ QuizResultAnswerEntityTrait.php - Implementation of getReportFormScore().
- ShortAnswerResponse::getFeedbackValues in question_types/
quiz_short_answer/ src/ Plugin/ quiz/ QuizQuestion/ ShortAnswerResponse.php
File
- src/
Entity/ QuizResultAnswerEntityTrait.php, line 41
Class
- QuizResultAnswerEntityTrait
- Each question type must store its own response data and be able to calculate a score for that data.
Namespace
Drupal\quiz\EntityCode
public function isEvaluated() : bool {
return (bool) $this
->get('is_evaluated')
->getString();
}