function tripal_pub_views_default_views
2.x tripal_pub.views_default.inc | tripal_pub_views_default_views() |
3.x tripal_pub.views_default.inc | tripal_pub_views_default_views() |
1.x tripal_pub.views.inc | tripal_pub_views_default_views() |
Implements hook_views_default_views().
Related topics
1 call to tripal_pub_views_default_views()
- tripal_pub_disable in legacy/
tripal_pub/ tripal_pub.install - Implements hook_disable(). Disable default views when module is disabled
File
- legacy/
tripal_pub/ tripal_pub.views_default.inc, line 12 - Describe publication default views
Code
function tripal_pub_views_default_views() {
$views = array();
// Main default view
$view = tripal_pub_defaultview_admin_publications();
$view = tripal_make_view_compatible_with_external($view);
$views[$view->name] = $view;
return $views;
}