Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Is there any way to remove the Features dependency from this module? I'm sure it's possible, but I'm not familiar with features. Is this something that wouldn't be too difficult to do?
Comment | File | Size | Author |
---|---|---|---|
#2 | remove-features-dependency-1919384-2.patch | 5.9 KB | TomTech |
Comments
Comment #1
AndyF CreditAttribution: AndyF commentedIt shouldn't be particularly difficult. You'd just need to handle creating the field and adding the instance manually. I'm waiting on another issue to commit some tests, and I can take a look at removing the dependency after that (patches welcome of course!).
Comment #2
TomTech CreditAttribution: TomTech commentedHere is a patch to remove the features dependency.
When enabled it will add a field instance to the percent and fixed coupon types. (If either are enabled.)
If neither are enabled, it will add the field when they are enabled.
README.txt updated as well.
Comment #3
AndyF CreditAttribution: AndyF commentedBeautiful, thanks, committed: ea21197.