function qtip_delete_instance in qTip (Stylish jQuery Tooltips) 7.2
Delete qTip instance.
1 string reference to 'qtip_delete_instance'
- qtip_menu in ./
qtip.module - Implements hook_menu().
File
- includes/
forms/ qtip.admin.inc, line 437 - Administrative functions for the qTip module.
Code
function qtip_delete_instance($form, $form_state, $qt) {
$form['machine_name'] = array(
'#type' => 'hidden',
'#value' => $qt->machine_name,
);
$form['name'] = array(
'#type' => 'hidden',
'#value' => $qt->name,
);
return confirm_form($form, t('Are you sure you want to delete the qtip instance %name?', array(
'%name' => $qt->name,
)), 'admin/config/user-interface/qtip');
}