function quiz_result_types in Quiz 7.5
2 calls to quiz_result_types()
- quiz_form in ./
quiz.module - Implements hook_form().
- quiz_result_type_load in ./
quiz.module
1 string reference to 'quiz_result_types'
File
- ./
quiz.module, line 4059 - quiz.module Main file for the Quiz module.
Code
function quiz_result_types($type_name = NULL) {
$types = entity_load_multiple_by_name('quiz_result_type', isset($type_name) ? array(
$type_name,
) : FALSE);
return isset($type_name) ? reset($types) : $types;
}