Project

General

Profile

« Previous | Next » 

Revision 991ae630

Added by Andreas Kohlbecker over 3 years ago

ref #8850 annotations for FieldUnits and nameTypeDesignations in registration and name page

View differences:

modules/cdm_dataportal/cdm_api/cdm_api.module
902 902
    // TODO we may want to implement a derivedUnitFacade/{uuid}/annotations service and use that instead
903 903
    $cdm_entity_type = $cdm_entity->fieldUnitEntityReference->type;
904 904
    $cdm_entity_uuid = $cdm_entity->fieldUnitEntityReference->uuid;
905
  } elseif ($cdm_entity_type == 'TypedEntityReference'){
906
    $cdm_entity_type = $cdm_entity->type;
907
    $cdm_entity_uuid = $cdm_entity->uuid;
905 908
  } else {
906 909
    if (isset($cdm_entity->uuid)) {
907 910
      $cdm_entity_uuid = $cdm_entity->uuid;

Also available in: Unified diff