You are here

function fancy_file_delete_manual in Fancy File Delete 7

Manual Deletion Page Callback.

2 string references to 'fancy_file_delete_manual'
fancy_file_delete_form_alter in ./fancy_file_delete.module
Implements hook_form_alter().
fancy_file_delete_menu in ./fancy_file_delete.module
Implements hook_menu().

File

includes/fancy_file_delete.admin.inc, line 25
Fancy File Delete administration and module settings UI.

Code

function fancy_file_delete_manual() {
  $form['force'] = array(
    '#type' => 'checkbox',
    '#title' => t('FORCE file deletion?'),
  );
  $form['delete_textarea'] = array(
    '#type' => 'textarea',
    '#title' => t('FID Numbers'),
    '#default_value' => '',
    '#description' => t('Provide the fid numbers, one per line.'),
    '#attributes' => array(
      'style' => 'font-family:"Courier New", Courier, monospace;',
    ),
    '#rows' => 10,
  );
  $form['#validate'][] = 'fancy_file_delete_manual_validate';
  $form['#submit'][] = 'fancy_file_delete_manual_submit';
  return system_settings_form($form);
}