You are here

function views_ui_convert_cleanup_form in Views (for Drupal 7) 6.2

Same name and namespace in other branches
  1. 6.3 includes/convert.inc \views_ui_convert_cleanup_form()

Provide form to clean up Views 1 tables.

1 string reference to 'views_ui_convert_cleanup_form'
views_ui_admin_convert in includes/convert.inc
Page callback for the tools - Views 1 convert page

File

includes/convert.inc, line 77
convert.inc

Code

function views_ui_convert_cleanup_form() {
  $form['verify'] = array(
    '#type' => 'checkbox',
    '#title' => t('Remove all Views 1 tables'),
    '#description' => t('Check this box and then click clean up to drop all Views 1 tables. Warning: this operation will not be reversible! Do this only if you are sure you no longer need this data.'),
    '#required' => TRUE,
  );
  $form['submit'] = array(
    '#type' => 'submit',
    '#value' => t('Clean up'),
  );
  return $form;
}