function tripal_genetic_views_default_views
2.x tripal_genetic.views_default.inc | tripal_genetic_views_default_views() |
3.x tripal_genetic.views_default.inc | tripal_genetic_views_default_views() |
1.x tripal_genetic.views.inc | tripal_genetic_views_default_views() |
Implements hook_views_default_views().
1 call to tripal_genetic_views_default_views()
- tripal_genetic_disable in legacy/
tripal_genetic/ tripal_genetic.install - Implements hook_disable(). Disable default views when module is disabled
File
- legacy/
tripal_genetic/ tripal_genetic.views_default.inc, line 12 - Describe default genetic views
Code
function tripal_genetic_views_default_views() {
$views = array();
// User View ("Search Biological Content")
// Remember, if you change the name/path of this view,
// you also want to change it's description in tripal_genetic_search_biological_data_views()
$view = tripal_genetic_defaultvalue_user_genotypes();
$view = tripal_make_view_compatible_with_external($view);
$views[$view->name] = $view;
// Admin view
$view = tripal_genetic_defaultviews_admin_genotypes();
$view = tripal_make_view_compatible_with_external($view);
$views[$view->name] = $view;
return $views;
}