You are here

function _webform_csv_data_textfield in Webform 7.4

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

Implements _webform_csv_data_component().

File

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

Code

function _webform_csv_data_textfield($component, $export_options, $value) {
  return !isset($value[0]) ? '' : $value[0];
}