Project

General

Profile

« Previous | Next » 

Revision f9a3d0f6

Added by Andreas Kohlbecker about 8 years ago

#1420 classification breadcrumbs imlemented

View differences:

modules/cdm_dataportal/cdm_dataportal.module
717 717
    $block["4"]["info"] = t("CDM Dataportal Print");
718 718
    $block["keys"]["info"] = t("CDM identification keys");
719 719
    $block["fundedByEDIT"]["info"] = t('Funded by EDIT');
720
    $block["classification_breadcrumbs"] =  array(
721
        'info' => t('Classification breadcrumbs'),
722
        'cache' => DRUPAL_CACHE_PER_PAGE
723
      );
720 724

  
721 725
    return $block;
722 726
}
......
759 763
        'html' => TRUE,
760 764
      ));
761 765
      return $block;
766
    case 'classification_breadcrumbs':
767
      if (arg(1) == 'taxon' && is_uuid(arg(2))) {
768
        $block['subject'] = '<none>';
769
        $block['content'] = compose_classification_breadcrumbs(arg(2));
770
        return $block;
771
      }
772
      break;
762 773
  }
763 774
}
764 775

  

Also available in: Unified diff