Optional CSV Header

Created on 5 April 2019, over 5 years ago
Updated 9 February 2023, almost 2 years ago

Please add the option for the CSV Header

$options['csv_settings']['contains'] = [
'delimiter' => ['default' => ','],
'enclosure' => ['default' => '"'],
'escape_char' => ['default' => '\\'],
'strip_tags' => ['default' => TRUE],
'trim' => ['default' => TRUE],
'encoding' => ['default' => 'utf8'],
'utf8_bom' => ['default' => FALSE],
'output_header' => ['default' => FALSE], // <-- This is already available in CSV Serialization module, https://www.drupal.org/project/csv_serialization/issues/2854087
];

✨ Feature request
Status

Needs review

Version

1.0

Component

Code

Created by

πŸ‡΅πŸ‡­Philippines danielhonrade

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024