Pass the form_state through to the callbacks for exporting items from a Bookmark list.
As a developer I want the ability to extend the export functionality of Bookmark with more options than the vanilla export formats allow for (array of PIDs and optionally a style for citation export).
It's possible to form_alter the Solr results and Bookmark form to include additional UI options for the user to select from. The form_state is than required in the callback execution to grab the user choices.
Pass through the form_state in the listing of parameters to call_user_func_array.
Use an export from Bookmark, Scholar or any other implementation. Export happens as expected.
None. By appending the form_state as the last parameter the existing exporters that rely on the current function signature (Scholar) are not effected.
discoverygarden inc. | Managing Digital Content