You are here

function _webform_csv_headers_textfield in Webform 7.4

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

Implements _webform_csv_headers_component().

File

components/textfield.inc, line 301
Webform module textfield component.

Code

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