Timeline for How do I populate an address field in php?
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 23, 2017 at 12:41 | history | edited | CommunityBot |
replaced http://stackoverflow.com/ with https://stackoverflow.com/
|
|
Jan 3, 2014 at 21:42 | comment | added | Russell Ormes |
Having poked around drupal for a week or so now, I also find that the dpm() function from the development module is excellent for seeing the structure of the form fields. I add dpm($form) to my hook_form_alter() implementation and get to see the whole array.
|
|
Dec 29, 2013 at 5:09 | comment | added | Clive♦ | Yeah I always go for the field schema hook when I want to know what a field's expecting. All fields have to define their columns that way so it's reliable | |
Dec 28, 2013 at 19:46 | comment | added | Russell Ormes |
Perfect answer, thank you very much. Makes sense to me now. Could this be put somewhere on the module's API page? I am sure it would help a lot of us newbies no end. Is the technique of looking at the _schema() function in an .install file a good one to use for understanding custom fields and entities?
|
|
Dec 28, 2013 at 19:00 | vote | accept | Russell Ormes | ||
Dec 28, 2013 at 18:12 | history | edited | Clive♦ | CC BY-SA 3.0 |
deleted 6 characters in body
|
Dec 28, 2013 at 18:04 | history | answered | Clive♦ | CC BY-SA 3.0 |