Révision ca0757b9
Ajouté par Assos Assos il y a plus de 9 ans
drupal7/sites/all/modules/webform/includes/webform.report.inc | ||
---|---|---|
730 | 730 |
// Let each component determine its headers. |
731 | 731 |
if (webform_component_feature($component['type'], 'csv')) { |
732 | 732 |
$component_header = (array) webform_component_invoke($component['type'], 'csv_headers', $component, $options); |
733 |
// Allow modules to modify the component CSV header. |
|
734 |
drupal_alter('webform_csv_header', $component_header, $component); |
|
735 |
|
|
736 |
// Merge component CSV header to overall CSV header |
|
733 | 737 |
$header[0] = array_merge($header[0], (array) $component_header[0]); |
734 | 738 |
$header[1] = array_merge($header[1], (array) $component_header[1]); |
735 | 739 |
$header[2] = array_merge($header[2], (array) $component_header[2]); |
736 |
|
|
737 |
// Allow modules to modify the CSV header. |
|
738 |
drupal_alter('webform_csv_header', $component_header, $component); |
|
739 | 740 |
} |
740 | 741 |
} |
741 | 742 |
} |
Formats disponibles : Unified diff
Weekly update of contrib modules