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