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.
Features 6.x-1.0 does in fact contain the API implementation to support the filter module. For some reason, there is something missing - probably because the implementation has issues. Based on the input from nedjo at #616496: Features integration, I compiled a patch to add basic filter support to features 6.x-1.0. (For example filter settings are not exporter to the feature - because I only saved input formats without settings, this was no issue for my setup.) Check it out.
Comment | File | Size | Author |
---|---|---|---|
#6 | 1349608.patch | 889 bytes | hefox |
features-6.x-1.0-filter.patch | 791 bytes | moritzz | |
Comments
Comment #1
kenorb CreditAttribution: kenorb commented+1
Similar: #643566: Text formats
Comment #2
joachim CreditAttribution: joachim commentedAFAIK this is doable with http://drupal.org/project/input_formats
Comment #3
kenorb CreditAttribution: kenorb commentedThank you, that what I was looking for.
Comment #4
hefox CreditAttribution: hefox commentedWell, it exists in the 7.x branch so no need do 7.x
is the d7 implementation. Looks like it was added in #643566: Text formats and not backported.
I don't think options need to be check_plain, though not sure why (just been noticing none of the options are in other hook_features_export_options). hmm
Comment #5
hefox CreditAttribution: hefox commentedComment #6
hefox CreditAttribution: hefox commentedExact patch added below.
Thanks
Comment #8
bendev CreditAttribution: bendev commentedthanks for #6 Works as expected.