You are here

function _spaces_casetracker_views_cases in Spaces 5.2

Same name and namespace in other branches
  1. 5 spaces_casetracker/spaces_casetracker.module \_spaces_casetracker_views_cases()
1 string reference to '_spaces_casetracker_views_cases'
spaces_casetracker_views_default_views in spaces_casetracker/spaces_casetracker.module
Implementation of hook_default_views

File

spaces_casetracker/spaces_casetracker.module, line 538

Code

function _spaces_casetracker_views_cases() {
  $view = _spaces_casetracker_views_base();
  $view->name = 'spaces_cases';
  $view->description = t('Spaces > Casetracker');
  $view->menu = TRUE;
  $view->menu_title = t('Cases');
  $view->page = TRUE;
  $view->page_title = t('Cases');
  $view->url = 'cases';
  $view->sort = array(
    array(
      'tablename' => 'casetracker_case',
      'field' => 'case_status_id',
      'sortorder' => 'ASC',
      'options' => 'normal',
    ),
  );
  return $view;
}