You are here

function imce_delete_form in IMCE 6

Same name and namespace in other branches
  1. 6.2 inc/imce.page.inc \imce_delete_form()
  2. 7 inc/imce.page.inc \imce_delete_form()

Delete form.

1 call to imce_delete_form()
imce_fileop_form in inc/page.inc
File operations form.

File

inc/page.inc, line 187

Code

function imce_delete_form(&$imce) {
  $form['delete'] = array(
    '#type' => 'submit',
    '#value' => t('Delete'),
    '#submit' => $imce['perm']['delete'] ? array(
      'imce_delete_submit',
    ) : NULL,
  );
  return $form;
}