You are here

function _webform_csv_headers_textarea in Webform 7.4

Same name and namespace in other branches
  1. 5.2 components/textarea.inc \_webform_csv_headers_textarea()
  2. 5 components/textarea.inc \_webform_csv_headers_textarea()
  3. 6.3 components/textarea.inc \_webform_csv_headers_textarea()
  4. 6.2 components/textarea.inc \_webform_csv_headers_textarea()
  5. 7.3 components/textarea.inc \_webform_csv_headers_textarea()

Implements _webform_csv_headers_component().

File

components/textarea.inc, line 243
Webform module textarea component.

Code

function _webform_csv_headers_textarea($component, $export_options) {
  $header = array();
  $header[0] = '';
  $header[1] = '';
  $header[2] = $export_options['header_keys'] ? $component['form_key'] : $component['name'];
  return $header;
}