We are creating an API using Views/Views Datasource and we want to output the Body field with markup already in the field not plain text. How can we do this? This Views_PHP approach just outputs the standard Body field as text.
$nid = $row->nid; $node = node_load($nid); $display = array('type' => 'ugc'); $output = field_view_field('node', $node, 'body', $display); print render($output);
On the example below the @papermill should be a link if this was rendered on the front end.