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.
Currently you can only set a default text format for node importers. Since you can add text fields to any entity type in Drupal 7 this should be abstracted so it can be set for any entity type. I've written a patch that adds this feature.
Comment | File | Size | Author |
---|---|---|---|
#5 | 953728-5_text_formats.patch | 14.27 KB | alex_b |
#4 | text_formats.patch | 13.63 KB | Anonymous (not verified) |
#3 | text_formats.patch | 12.95 KB | Anonymous (not verified) |
#2 | text_formats.patch | 10.62 KB | Anonymous (not verified) |
#1 | text_formats.patch | 11.06 KB | Anonymous (not verified) |
Comments
Comment #1
Anonymous (not verified) CreditAttribution: Anonymous commentedJust a minor change to the above patch to make things a bit cleaner.
Comment #2
Anonymous (not verified) CreditAttribution: Anonymous commentedHad to fix an issue where when an input format was not chosen for an importer no input format was used. I've made the input format a required field as it should be. Also changed the key text_format back to input_format for backwards compatibility.
Comment #3
Anonymous (not verified) CreditAttribution: Anonymous commentedHere's another update to this patch had to fix somethings to get tests to pass a few issues still with tests but I'll post another patch when they're fixed.
Comment #4
Anonymous (not verified) CreditAttribution: Anonymous commentedHere's what should be my final patch for review all related tests pass.
Comment #5
alex_b CreditAttribution: alex_b commentedSplendid. This patch contains some minor cleanups Will commit asap.
Comment #6
alex_b CreditAttribution: alex_b commentedCommitted, thank you.
http://drupal.org/cvs?commit=443174