function matching_install in Quiz 7.4
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.6 question_types/matching/matching.install \matching_install()
- 7 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');
// TODO The drupal_(un)install_schema functions are called automatically in D7.
// drupal_install_schema('matching')
variable_set('node_options_matching', array(
'status',
));
cache_clear_all('autoload:', 'cache');
}