function tripal_views_get_schemas

2.x tripal_views.install tripal_views_get_schemas()
1.x tripal_views.install tripal_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_views_get_schemas()
tripal_views_schema in tripal_views/tripal_views.install
Implementation of hook_schema().

File

tripal_views/tripal_views.install, line 57
Functions related to installing/uninstalling this module

Code

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

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

  return $schema;
}