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.
When a skin is defined in *.skinr.inc (which is auto-loaded for select hooks), and include a custom 'form callback' function, the includefile won't be loaded when displaying the skin settings form (e.g. /admin/structure/skinr/edit/block/system__user-menu/configure ) resulting in the form element not being created.
We'll need to add custom loading of *.skinr.inc file when a skin with the a 'form callback' is defined in the *.skinr.inc file.
Comment | File | Size | Author |
---|---|---|---|
#2 | patch_commit_7f112bd27bdf.patch | 3.92 KB | moonray |
#1 | patch_commit_0b3a8b6ab045.patch | 2.93 KB | moonray |
Comments
Comment #1
moonray CreditAttribution: moonray commentedAnd here's a patch.
Comment #2
moonray CreditAttribution: moonray commentedNeeded to tweak some test to account for new 'include file' for all $module.skinr.inc, even when they're normally auto-loaded.
Comment #3
moonray CreditAttribution: moonray commentedCommitted. This fixed testing issues.