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.
If you try to use hook_form_alter()
to change the list of region styles presented to the user, you don't know which region the style is being applied to, so you use the region to decided what to hide/show.
It'd be great if the 'region' name was put on the $form_state
, just like 'pane' is when setting a pane style.
Comment | File | Size | Author |
---|---|---|---|
#2 | panels-region-style-2729331-2.patch | 642 bytes | dsnopek |
Comments
Comment #2
dsnopekPatch is attached!
Comment #4
cboyden CreditAttribution: cboyden commentedThe version to test against should be 7.x-3.x-dev.
Comment #5
cboyden CreditAttribution: cboyden commentedComment #6
dsnopekOops! I created too many D8 issues today. :-)
Comment #8
cboyden CreditAttribution: cboyden commented