function data_ui_export_form in Data 6
Same name and namespace in other branches
- 7 data_ui/data_ui.admin.inc \data_ui_export_form()
Export form.
1 string reference to 'data_ui_export_form'
- data_ui_menu in data_ui/
data_ui.module - Implementation of hook_menu()
File
- data_ui/
data_ui.admin.inc, line 833 - Admin UI functions.
Code
function data_ui_export_form(&$form_state, $table) {
$code = data_export(db_escape_table($table
->get('name')));
$form['export'] = array(
'#title' => t('Export table definition'),
'#type' => 'textarea',
'#value' => $code,
'#rows' => substr_count($code, "\n"),
);
return $form;
}