You are here

function _webform_csv_data_node in Webform Node Element 6

Same name and namespace in other branches
  1. 7 components/node.inc \_webform_csv_data_node()

Implements _webform_csv_data_component().

File

components/node.inc, line 197
Webform module node component.

Code

function _webform_csv_data_node($component, $export_options, $value) {
  $node = node_load($component['extra']['nid']);
  $content = node_view($node, $component['extra']['view_mode']);
  return $content['body'] . $content['links'];
}