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.
In a project I missed the ability to act on changes to panelizer defaults.
I added a patch for acting when panelizer defaults get deleted.
Of course hooks for other events is also be desirable.
At least this is a starting point to see if the idea is usable for someone else.
Please notice the patch is for 7.x-2.x-dev (because that is the version I'm currently working with). The patch also applies to the 7.x-3.x-dev branch (with minor offsets).
Comment | File | Size | Author |
---|---|---|---|
#7 | panelizer-n1929000-7.patch | 1.73 KB | DamienMcKenna |
Comments
Comment #1
arnested CreditAttribution: arnested commentedComment #2
arnested CreditAttribution: arnested commentedI just realized the two functions panelizer_default_settings_page() and panelizer_export_export_callback() where not having the same functionality and couldn't be merged.
Improved patch.
Comment #2.0
arnested CreditAttribution: arnested commentedUpdated issue summary. Fixed spelling.
Comment #3
arnested CreditAttribution: arnested commentedComment #4
DamienMcKennaThis needs some updates & fixes:
Comment #5
mglamanRe-roll against 3.x, fixes the export object module invoke call.
Comment #7
DamienMcKennaMinor tweaks to the comments.
Comment #8
DamienMcKennaCommitted. Thank you both.
Comment #10
DamienMcKenna