function tripal_feature_views_default_views
2.x tripal_feature.views_default.inc | tripal_feature_views_default_views() |
3.x tripal_feature.views_default.inc | tripal_feature_views_default_views() |
1.x tripal_feature.views.inc | tripal_feature_views_default_views() |
Implements hook_views_default_views().
1 call to tripal_feature_views_default_views()
- tripal_feature_disable in legacy/
tripal_feature/ tripal_feature.install - Implements hook_disable().
File
- legacy/
tripal_feature/ tripal_feature.views_default.inc, line 12 - Describe default feature views
Code
function tripal_feature_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_feature_search_biological_data_views()
$view = tripal_feature_defaultvalue_user_features();
$view = tripal_make_view_compatible_with_external($view);
$views[$view->name] = $view;
// Admin view
$view = tripal_feature_defaultview_admin_features();
$view = tripal_make_view_compatible_with_external($view);
$views[$view->name] = $view;
return $views;
}