function data_ui_view_schema in Data 7
Same name and namespace in other branches
- 6 data_ui/data_ui.admin.inc \data_ui_view_schema()
View table with krumo().
1 string reference to 'data_ui_view_schema'
- data_ui_menu in data_ui/
data_ui.module - Implements hook_menu().
File
- data_ui/
data_ui.admin.inc, line 1015 - Admin UI functions.
Code
function data_ui_view_schema($table) {
$table = data_get_table($table);
drupal_set_title($table
->get('title'));
$output = '<H3>' . t('Schema') . '</H3>';
$output .= kprint_r($table
->get('table_schema'), TRUE);
if ($meta = $table
->get('meta')) {
$output .= '<H3>' . t('Meta info') . '</H3>';
$output .= kprint_r($table
->get('meta'), TRUE);
}
return $output;
}