Project

General

Profile

« Previous | Next » 

Revision aa55643c

Added by Andreas Kohlbecker about 3 years ago

ref #7599 derivate tree units: icon stack for type specimens

View differences:

modules/cdm_dataportal/includes/symbols.inc
26 26
 * @return String
27 27
 *  Markup for a font awesome icon
28 28
 */
29
function symbol_for_base_of_record($base_of_record_uuid){
29
function symbol_for_base_of_record($base_of_record_uuid, $attributes = array()){
30 30

  
31 31
  switch($base_of_record_uuid){
32 32
    case UUID_SPECIMEN_OR_OBSERVATION_TYPE_PRESERVEDSPECIMEN :
......
75 75
      $fa_icon_name = 'cube'; // or 'archive'
76 76
  }
77 77

  
78
  return font_awesome_icon_markup('fa-'.$fa_icon_name);
78
  return font_awesome_icon_markup('fa-'.$fa_icon_name, $attributes);
79 79
}

Also available in: Unified diff