Needs review
Project:
Prepopulate
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
4 Aug 2011 at 19:54 UTC
Updated:
22 Oct 2013 at 07:31 UTC
Jump to comment: Most recent
I added hook_prepopulate() to be able to allow other modules to expose some data to prepopulate.
My use case is this: #1222274: Content Type task: Prefill parts of node forms based on variables (or fixed strings) . It does not make sense to re-implement prefill syntax and logic when it's already there, but i'd not put put everything in the URL.
| Comment | File | Size | Author |
|---|---|---|---|
| prepopulate_external_data.patch | 1.78 KB | aron novak |
Comments
Comment #1
Anonymous (not verified) commentedThis sounds awesome. From the code I can't really tell what it does. How can this be used?
Comment #2
aron novakFor the end users, this patch would mean absolutely nothing. It's for the developers of other modules. They'd be able to use prepopulate like syntax to prefill forms in various cases. Personally I used it with maestro module.
Comment #3
harryhurry commentedHi Aron,
As I have to prefill a new content type started by Maestro with a maestro variable:
Could you please provide an example how you did this?
I guess, you used both patches,the one for Maestro and the one for prepopulate.
Please let me know.