function quiz_query_random_alter in Quiz 8.6
Same name and namespace in other branches
- 8.5 quiz.module \quiz_query_random_alter()
Implements hook_query_TAG_alter().
Add randomization to the categorized question build.
File
- ./
quiz.module, line 841 - Contains quiz.module
Code
function quiz_query_random_alter(AlterableInterface $query) {
$query
->orderRandom();
}