function data_ui_drop_form in Data 6
Same name and namespace in other branches
- 7 data_ui/data_ui.admin.inc \data_ui_drop_form()
Form callback for drop table form.
1 string reference to 'data_ui_drop_form'
- data_ui_menu in data_ui/
data_ui.module - Implementation of hook_menu()
File
- data_ui/
data_ui.admin.inc, line 434 - Admin UI functions.
Code
function data_ui_drop_form(&$form_state, $table) {
$form = array();
$form['#redirect'] = 'admin/build/data';
$form['#table'] = $table;
return confirm_form($form, t('Drop this table?'), 'admin/build/data', t('Are you sure you would like to drop table @table? This action cannot be undone.', array(
'@table' => $table
->get('name'),
)), t('Drop'), t('Cancel'));
}