You are here

function multichoice_content_extra_fields in Quiz 6.4

Same name and namespace in other branches
  1. 7 question_types/multichoice/multichoice.module \multichoice_content_extra_fields()

Implementation of hook_content_extra_fields(cck)

File

question_types/multichoice/multichoice.module, line 261
The main file for multichoice.

Code

function multichoice_content_extra_fields($type_name) {
  $extra = array();
  if ($type_name == 'multichoice') {
    $extra['alternatives'] = array(
      'label' => t('Alternatives'),
      'description' => t('Alternatives for multichoice'),
      'weight' => -4,
    );
  }
  return $extra;
}