tripal_phylogeny.theme.inc 671 B

1234567891011121314151617181920212223
  1. <?php
  2. /**
  3. * Implements hook_preprocess_hook()
  4. *
  5. * @param $variables
  6. */
  7. function tripal_phylogeny_preprocess_tripal_phylogeny_phylogram(&$variables) {
  8. $phylotree = $variables['node']->phylotree;
  9. module_load_include('inc', 'tripal_chado', 'includes/tripal_chado.phylotree');
  10. tripal_phylogeny_prepare_tree_viewer($phylotree);
  11. }
  12. /**
  13. * Implements hook_preprocess_hook()
  14. *
  15. * @param $variables
  16. */
  17. function tripal_phylogeny_preprocess_tripal_phylogeny_taxonomic_tree(&$variables) {
  18. $phylotree = $variables['node']->phylotree;
  19. module_load_include('inc', 'tripal_chado', 'includes/tripal_chado.phylotree');
  20. tripal_phylogeny_prepare_tree_viewer($phylotree);
  21. }