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.

CommentFileSizeAuthor
#5 953728-5_text_formats.patch14.27 KBalex_b
#4 text_formats.patch13.63 KBAnonymous (not verified)
#3 text_formats.patch12.95 KBAnonymous (not verified)
#2 text_formats.patch10.62 KBAnonymous (not verified)
#1 text_formats.patch11.06 KBAnonymous (not verified)
text_formats.patch11.09 KBAnonymous (not verified)
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Anonymous’s picture

FileSize
11.06 KB

Just a minor change to the above patch to make things a bit cleaner.

Anonymous’s picture

FileSize
10.62 KB

Had 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.

Anonymous’s picture

FileSize
12.95 KB

Here'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.

Anonymous’s picture

FileSize
13.63 KB

Here's what should be my final patch for review all related tests pass.

alex_b’s picture

Status: Needs review » Reviewed & tested by the community
FileSize
14.27 KB

Splendid. This patch contains some minor cleanups Will commit asap.

alex_b’s picture

Title: Abstraction of text format settings » Upgrade text formats, use on all processors
Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.