Closed (fixed)
Project:
Panels
Version:
6.x-3.x-dev
Component:
Plugins - styles
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 May 2010 at 14:07 UTC
Updated:
31 May 2010 at 18:00 UTC
Style plugins can't access the $form_state array in the settings form's submit and validate callbacks. Plugin sometimes needs to do this. One example would be if you use input formats on some element in your settings form. The system doesn't recognize the selected filter as a setting and doesn't therefore put the value in the settings array. The only way to save these values are to access the $form_state array directly.
This will also make the submit and validate callbacks more similar to those used by other plugin types (contexts etc.).
| Comment | File | Size | Author |
|---|---|---|---|
| panels-styles-form-state.patch | 1.32 KB | dixon_ |
Comments
Comment #1
sdboyer commentedMakes sense to me. Committed!