Revision bc400a17
Added by Andreas Kohlbecker almost 8 years ago
modules/cdm_dataportal/cdm_dataportal.module | ||
---|---|---|
792 | 792 |
'info' => t('Classification breadcrumbs'), |
793 | 793 |
'cache' => DRUPAL_CACHE_PER_PAGE |
794 | 794 |
); |
795 |
$block["taxonomic_children"] = array( |
|
796 |
'info' => t('Taxonomic children'), |
|
797 |
'cache' => DRUPAL_CACHE_PER_PAGE |
|
798 |
); |
|
795 | 799 |
|
796 | 800 |
return $block; |
797 | 801 |
} |
... | ... | |
839 | 843 |
$block['subject'] = '<none>'; |
840 | 844 |
$block['content'] = compose_classification_breadcrumbs($taxon_uuid); |
841 | 845 |
return $block; |
842 |
|
|
846 |
case 'taxonomic_children': |
|
847 |
$taxon_uuid = get_current_taxon_uuid(); |
|
848 |
$block['subject'] = '<none>'; |
|
849 |
$block['content'] = compose_taxonomic_children($taxon_uuid); |
|
850 |
return $block; |
|
843 | 851 |
} |
844 | 852 |
} |
845 | 853 |
|
Also available in: Unified diff
#5904 Drupal block to show direct taxonomic children of a taxon