function tripal_phylogeny_views_default_views

2.x tripal_phylogeny.views_default.inc tripal_phylogeny_views_default_views()
3.x tripal_phylogeny.views_default.inc tripal_phylogeny_views_default_views()

Implements hook_views_default_views().

Related topics

1 call to tripal_phylogeny_views_default_views()
tripal_phylogeny_disable in legacy/tripal_phylogeny/tripal_phylogeny.install
Implements hook_disable().

File

legacy/tripal_phylogeny/tripal_phylogeny.views_default.inc, line 12
Describe default phylotree views

Code

function tripal_phylogeny_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_phylogeny_search_biological_data_views()
  $view = tripal_phylogeny_defaultvalue_user_phylotrees();
  $view = tripal_make_view_compatible_with_external($view);
  $views[$view->name] = $view;

  /// Admin view
  $view = tripal_phylogeny_defaultview_admin_phylotree();
  $view = tripal_make_view_compatible_with_external($view);
  $views[$view->name] = $view;

  return $views;
}