function tripal_chado_views_get_schemas

3.x tripal_chado_views.install tripal_chado_views_get_schemas()

This function simply defines all tables needed for the module to work correctly. By putting the table definitions in a separate function we can easily provide the entire list for hook_install or individual tables for an update.

Related topics

1 call to tripal_chado_views_get_schemas()
tripal_chado_views_schema in tripal_chado_views/tripal_chado_views.install
Implementation of hook_schema().

File

tripal_chado_views/tripal_chado_views.install, line 52
Functions related to installing/uninstalling this module

Code

function tripal_chado_views_get_schemas() {
  $schema = array();

  $temp = tripal_chado_views_views_schema();
  foreach ($temp as $table => $arr) {
    $schema[$table] = $arr;
  }

  return $schema;
}