Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
It would be very useful to be able to add extra data to the CSV export, e.g. profile fields, etc. A few simple hooks would allow this.
Comment | File | Size | Author |
---|---|---|---|
#1 | rsvp-n968230.patch | 1.8 KB | DamienMcKenna |
Comments
Comment #1
DamienMcKennaHave provided a patch that adds two new hooks:
hook_rsvp_csv_hash_headers_alter(&$header)
Allow other modules to alter the header row of the exported CSV file.
hook_rsvp_csv_hash_row_alter(&$out, $row, $i)
Allow other modules to alter the individual rows output in the CSV.