function casetracker_views_default_views in Case Tracker 6
Same name and namespace in other branches
- 7.2 views/casetracker.views_default.inc \casetracker_views_default_views()
- 7 casetracker.views_default.inc \casetracker_views_default_views()
Implementation of hook_views_default_views().
File
- ./
casetracker.views_default.inc, line 6
Code
function casetracker_views_default_views() {
$list = array(
'casetracker_project_options',
'casetracker_project_cases',
'casetracker_assignee_options',
);
$views = array();
foreach ($list as $view_name) {
$view = call_user_func('_view_' . $view_name);
$views[$view->name] = $view;
}
return $views;
}