I'm trying to figure out how to get the value "[name] => Washington" from below. field_an_events_state is a D7 field type "Term reference" that looks up the state from a taxonomy vocabulary. For a normal field, I can just do
print $content['field_event_country']['#items']['0']['value'];
But everything I've tried to get "[name] => Washington" from here fails me. This is in a node tpl file.
[field_an_events_state] => Array
(
[und] => Array
(
[0] => Array
(
[tid] => 52
[taxonomy_term] => stdClass Object
(
[tid] => 52
[vid] => 3
[name] => Washington
[description] => Washington
[format] => plain_text
[weight] => 0
[vocabulary_machine_name] => state_province
[rdf_mapping] => Array
Read »
(
[und] => Array
(
[0] => Array
(
[tid] => 52
[taxonomy_term] => stdClass Object
(
[tid] => 52
[vid] => 3
[name] => Washington
[description] => Washington
[format] => plain_text
[weight] => 0
[vocabulary_machine_name] => state_province
[rdf_mapping] => Array









