public function QuizResultAnswerEntityTrait::isSkipped in Quiz 8.6
Same name and namespace in other branches
- 8.5 src/Entity/QuizResultAnswerEntityTrait.php \Drupal\quiz\Entity\QuizResultAnswerEntityTrait::isSkipped()
- 6.x src/Entity/QuizResultAnswerEntityTrait.php \Drupal\quiz\Entity\QuizResultAnswerEntityTrait::isSkipped()
Indicate if the question was marked as skipped.
Return value
bool
File
- src/
Entity/ QuizResultAnswerEntityTrait.php, line 321
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 isSkipped() {
return (bool) $this
->get('is_skipped')
->getString();
}