function matching_install in Quiz 7.6
Same name and namespace in other branches
- 8.4 question_types/matching/matching.install \matching_install()
- 6.6 question_types/matching/matching.install \matching_install()
- 6.3 question_types/matching/matching.install \matching_install()
- 6.4 question_types/matching/matching.install \matching_install()
- 6.5 question_types/matching/matching.install \matching_install()
- 7 question_types/matching/matching.install \matching_install()
- 7.4 question_types/matching/matching.install \matching_install()
- 7.5 question_types/matching/matching.install \matching_install()
Implements hook_install().
File
- question_types/
matching/ matching.install, line 11 - matching install file.
Code
function matching_install() {
// Add body field to matching node
quiz_question_add_body_field('matching');
variable_set('node_options_matching', array(
'status',
));
}