You are here

function casetracker_views_data in Case Tracker 6

Same name and namespace in other branches
  1. 7 casetracker.views.inc \casetracker_views_data()

Implementation of hook_views_data().

File

./casetracker.views.inc, line 6

Code

function casetracker_views_data() {
  $data = array();
  $tables = array(
    'casetracker_case',
    'casetracker_case_states',
  );
  foreach ($tables as $table) {
    $function = "casetracker_views_data_{$table}";
    $data += $function();
  }
  return $data;
}