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.
I had a real hard time finding this, because it's named something completely different here than it is on the discount add form. They should be the same.
Comment | File | Size | Author |
---|---|---|---|
#4 | 2558151-4.discount_info.patch | 1.78 KB | rszrama |
#3 | 2558151-3.discount_info.patch | 1.61 KB | rszrama |
Comments
Comment #2
rszrama CreditAttribution: rszrama commentedApparently this goes for all properties - they all need to be revised. The magic behavior of the Entity API is making this much harder to track down and fix than if it were simply declared in an array in this module, though I understand the drive to have this stuff automatically scaffolded out. The solution is to use the Entity API to rough out the array but then to customize the labels and descriptions with user friendly terms.
Comment #3
rszrama CreditAttribution: rszrama commentedPatch attached.
Comment #4
rszrama CreditAttribution: rszrama commentedThis patch also adds support for the sort_order column, assuming I can commit that patch.
Comment #6
rszrama CreditAttribution: rszrama commentedD'oh. Should've specified that one as not to be tested. Of course it would fail given sort_order doesn't exist.
Comment #7
joelpittetThis looks very helpful in #3
Comment #10
rszrama CreditAttribution: rszrama commentedAwesome, committed it along w/ the sort order fix.