function drupal_get_schema


Error message

User warning: The following module is missing from the file system: theme/theme. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /var/www/html/elmsln_community/
cis7 drupal_get_schema($table = NULL, $rebuild = FALSE)
cle7 drupal_get_schema($table = NULL, $rebuild = FALSE)
elmsmedia7 drupal_get_schema($table = NULL, $rebuild = FALSE)
icor7 drupal_get_schema($table = NULL, $rebuild = FALSE)
meedjum_blog7 drupal_get_schema($table = NULL, $rebuild = FALSE)
mooc7 drupal_get_schema($table = NULL, $rebuild = FALSE)

Gets the schema definition of a table, or the whole database schema.

The returned schema will include any modifications made by any module that implements hook_schema_alter().


$table: The name of the table. If not given, the schema of all tables is returned.

$rebuild: If true, the schema will be rebuilt instead of retrieved from the cache.

Related topics

64 calls to drupal_get_schema()
backup_migrate_item::get_schema in sites/all/modules/ulmus/backup_migrate/includes/
Get the schema for the item type.
ctools_entity_from_schema_get_children in sites/all/modules/ulmus/ctools/plugins/relationships/
ctools_export_get_schema in sites/all/modules/ulmus/ctools/includes/
Get the schema for a given table.
ctools_export_get_schemas in sites/all/modules/ulmus/ctools/includes/
Gets the schemas for all tables with ctools object metadata.
ctools_export_load_object in sites/all/modules/ulmus/ctools/includes/
Load some number of exportable objects.

... See full list


includes/, line 2940
Functions that need to be loaded on every Drupal request.


function drupal_get_schema($table = NULL, $rebuild = FALSE) {
  static $schema;

  if ($rebuild || !isset($table)) {
    $schema = drupal_get_complete_schema($rebuild);
  elseif (!isset($schema)) {
    $schema = new SchemaCache();

  if (!isset($table)) {
    return $schema;
  if (isset($schema[$table])) {
    return $schema[$table];
  else {
    return FALSE;



Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/ in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/
The website encountered an unexpected error. Please try again later.