You are here

function schema_show in Schema 5

Same name and namespace in other branches
  1. 6 schema.module \schema_show()
  2. 7 schema.pages.inc \schema_show()
1 string reference to 'schema_show'
schema_menu in ./schema.module

File

./schema.module, line 728

Code

function schema_show() {
  $schema = drupal_get_schema(NULL, TRUE);
  $show = print_r($schema, 1);
  $output = <<<EOT
<p>This page displays the Drupal database schema data structure.  It is for
debugging purposes.</p>

<textarea style="width:100%" rows="30">{<span class="php-variable">$show</span>}</textarea>
EOT;
  return $output;
}