function tripal_cv_views_default_views

2.x tripal_cv.views_default.inc tripal_cv_views_default_views()
3.x tripal_cv.views_default.inc tripal_cv_views_default_views()
1.x tripal_cv.views.inc tripal_cv_views_default_views()

Implements hook_views_default_views().

Related topics

1 call to tripal_cv_views_default_views()
tripal_cv_disable in tripal_cv/tripal_cv.install
Implements hook_disable(). Disable default views when module is disabled

File

tripal_cv/tripal_cv.views_default.inc, line 12
Describes default cv views

Code

function tripal_cv_views_default_views() {
  $views = array();

  // Default Tripal Admin View: CVs
  $view = tripal_cv_defaultview_admin_cvs_listing();
  $view = tripal_make_view_compatible_with_external($view);
  $views[$view->name] = $view;

  // Default Tripal Admin View: CV Terms
  $view = tripal_cv_defaultview_admin_cvterms_listing();
  $view = tripal_make_view_compatible_with_external($view);
  $views[$view->name] = $view;

  return $views;
}