function quiz_drag_drop_uninstall in Quiz Drag Drop 7
Implements hook_uninstall().
File
- ./
quiz_drag_drop.install, line 99 - drag drop Install (a quiz question type)
Code
function quiz_drag_drop_uninstall() {
// Delete instance.
field_delete_field('field_dragdrop_image');
$instance = field_info_instance('node', 'field_dragdrop_image', 'quiz_drag_drop');
field_delete_instance($instance);
$t = get_t();
drupal_set_message($t("The drag drop module has been uninstalled. Drag drop nodes may still exist, but they will not function properly."));
}