You are here

constant QUIZ_KEEP_LATEST in Quiz 7.5

Same name and namespace in other branches
  1. 8.6 quiz.module \QUIZ_KEEP_LATEST
  2. 8.4 quiz.module \QUIZ_KEEP_LATEST
  3. 8.5 quiz.module \QUIZ_KEEP_LATEST
  4. 6.4 quiz.module \QUIZ_KEEP_LATEST
  5. 7.6 quiz.module \QUIZ_KEEP_LATEST
  6. 7 quiz.module \QUIZ_KEEP_LATEST
  7. 7.4 quiz.module \QUIZ_KEEP_LATEST
2 uses of QUIZ_KEEP_LATEST
QuizResultTestCase::testResultPruning in tests/QuizResultTestCase.test
Test the all, best, and last quiz result pruning.
_quiz_maintain_results in ./quiz.module
Mark results as invalid for a quiz according to the keep results setting.

File

./quiz.module, line 26
quiz.module Main file for the Quiz module.

Code

define('QUIZ_KEEP_LATEST', 1);