function node_gallery_config_delete_form in Node Gallery 6.2
Same name and namespace in other branches
- 6 node_gallery.admin.inc \node_gallery_config_delete_form()
1 string reference to 'node_gallery_config_delete_form'
- node_gallery_menu in ./
node_gallery.module - Implementation of hook_menu().
File
- ./
node_gallery.admin.inc, line 571 - Node gallery admin page file
Code
function node_gallery_config_delete_form($form_state, $gallery_config) {
$form['gallery_id'] = array(
'#type' => 'value',
'#value' => 'node_gallery_' . $gallery_config['gallery_type'],
);
$form['gallery_name'] = array(
'#type' => 'value',
'#value' => $gallery_config['name'],
);
return confirm_form($form, t('Are you sure you want to delete gallery type config %name?', array(
'%name' => $gallery_config['name'],
)), 'admin/settings/node_gallery', NULL, t('Delete'), t('Back'));
}