Display taxonomy term from id I want to display taxonomy term from it's id. I have the following code that get's me id of this term but I don't how to convert this id into term name to display it.

function menu_custom_field_formatter_view($entity_type, $entity, $field, $instance, $langcode, $items, $display) {
  dpm($items);
  $element = array();
  foreach ($items as $delta =&gt; $item) {     
    $element[$delta] =  l(check_plain($item['target_id']));    
    }  
  return array(
    0 =&gt; array(
      '#markup' =&gt; theme('item_list', array('items' =&gt; $item)),
    ),
  );
  return theme('item_list', array());
}
To get the taxonomy term name from ID. 

function menu_custom_field_formatter_view($entity_type, $entity, $field, $instance, $langcode, $items, $display) {
  dpm($items);
  $element = array();
  foreach ($items as $delta =&gt; $item) { 
    $taxonomy = taxonomy_term_load($item['target_id']);
    $element[$delta] = $taxonomy-&gt;name;
  }  
  return array(
    0 =&gt; array(
      '#markup' =&gt; theme('item_list', array('items' =&gt; $item)),
    ),
  );
  return theme('item_list', array());
}


$taxonomy-&gt;name  will give you name of taxonomy term.

I hope this will help.
Thanks