Posted by Nicolo2 on December 15, 2012 at 6:43am
Hi!
I want to make a computed field show other reference field data.
I made code.
"field_employee" is node reference field
$account = entity_load($entity->field_employee['und'][0]['nid']);)
$names = explode(" ", $account->name);
$entity_field[0]['value'] = end($names);I just want to show its name and the other data through computed field.
but it didn't work.
I need help me out!