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.
Took me all day to figure out, but filter_form() is missing some key information on parameters, mostly notably the $parent one, which is required if you want multiple formats on the same page. This patch fixes the documentation of this.
Comment | File | Size | Author |
---|---|---|---|
#5 | filter.module_22.patch | 815 bytes | m3avrck |
#4 | filter.module_21.patch | 815 bytes | m3avrck |
#1 | filter.module_20.patch | 770 bytes | m3avrck |
filter.module_19.patch | 1.01 KB | m3avrck | |
Comments
Comment #1
m3avrck CreditAttribution: m3avrck commentedOoops, patch had debug code. Here's the real one.
Comment #2
Zen CreditAttribution: Zen commentedNitpick: Missing periods at the end.
I'm also not sure that the caption for $parents is entirely accurate as it might be required even if there's only one parent which is not 'format'.
-K
Comment #3
Zen CreditAttribution: Zen commentedComment #4
m3avrck CreditAttribution: m3avrck commentedZen, good call, both fixed.
Comment #5
m3avrck CreditAttribution: m3avrck commentedZen, good call, both fixed.
Comment #6
Zen CreditAttribution: Zen commented+1 :)
-K
Comment #7
Dries CreditAttribution: Dries commentedCommitted to HEAD. Thanks.
Comment #8
(not verified) CreditAttribution: commented