Miscellany
public php v1 · immutable if ($formatter == 'link') { $tags = array(); foreach ($item as $key => $term) { if (!is_object($term) && $key == 'value' && is_numeric($term) && $term != 0) { $term = taxonomy_get_term($term); } $tags[] = l($term->name, taxonomy_term_path($term), array('rel' => 'tag', 'title' => $term->description)); $output .= implode('- ', $tags); } }