You are here

function node_gallery_config_delete_form in Node Gallery 6

Same name and namespace in other branches
  1. 6.2 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 407
Node gallery admin file.

Code

function node_gallery_config_delete_form($form_state, $gallery_config) {
  $form['gallery_type'] = array(
    '#type' => 'value',
    '#value' => $gallery_config->gallery_type,
  );
  return confirm_form($form, t('Are you sure you want to delete gallery type config %name?', array(
    '%name' => $gallery_config->gallery_type,
  )), 'admin/build/node_gallery', NULL, t('Delete'), t('Back'));
}