I have a custom module in place to get details of a node after the node has been submitted. I am trying to collect all the taxonomy terms associated with that node. The taxonomy terms are selected by multiple check boxes on the node creation page.
$items = $form['field_content_type_list']['und']['#value'];
and then go through them in a for loop:
foreach ($items as $item)
The problem is that $item is the index in the taxonomy list rather than the name of the object itself as a string.
Is there a way of getting the string value rather than the index of the term?