function tripal_featuremap_views_default_views
2.x tripal_featuremap.views_default.inc | tripal_featuremap_views_default_views() |
3.x tripal_featuremap.views_default.inc | tripal_featuremap_views_default_views() |
1.x tripal_featuremap.views.inc | tripal_featuremap_views_default_views() |
Implements hook_views_default_views().
Related topics
1 call to tripal_featuremap_views_default_views()
- tripal_featuremap_disable in tripal_featuremap/
tripal_featuremap.install - Implements hook_disable(). Disable default views when module is disabled
File
- tripal_featuremap/
tripal_featuremap.views_default.inc, line 12 - Default feature map views
Code
function tripal_featuremap_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_featuremap_search_biological_data_views()
$view = tripal_featuremap_defaultvalue_user_featuremaps();
$view = tripal_make_view_compatible_with_external($view);
$views[$view->name] = $view;
// Admin view
$view = tripal_featuremap_defaultview_admin_featuremaps();
$view = tripal_make_view_compatible_with_external($view);
$views[$view->name] = $view;
return $views;
}