function image_gallery_confirm_delete_submit in Image 5
Same name and namespace in other branches
- 5.2 contrib/image_gallery/image_gallery.module \image_gallery_confirm_delete_submit()
File
- contrib/
image_gallery/ image_gallery.module, line 281
Code
function image_gallery_confirm_delete_submit($form_id, $form_values) {
taxonomy_del_term($form_values['tid']);
drupal_set_message(t('The image gallery %term and all sub-galleries have been deleted.', array(
'%term' => $form_values['name'],
)));
return 'admin/content/image';
}