function matching_field_extra_fields in Quiz 8.4
Same name and namespace in other branches
- 7.6 question_types/matching/matching.module \matching_field_extra_fields()
- 7.4 question_types/matching/matching.module \matching_field_extra_fields()
- 7.5 question_types/matching/matching.module \matching_field_extra_fields()
Implements hook_field_extra_fields().
File
- question_types/
matching/ matching.module, line 116 - Matching question type for quiz module
Code
function matching_field_extra_fields() {
$extra['node']['matching'] = array(
'form' => array(
'match' => array(
'label' => t('Answer'),
'description' => t('The sets of matches for this question.'),
'weight' => -4,
),
),
);
return $extra;
}