Timeline for How to use set() on a field within a field collection?
Current License: CC BY-SA 3.0
2 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 4, 2016 at 12:22 | comment | added | saramm1 |
Modifying the values via form_state whether during validation or save has been going totally ignored. Modifying at the entity level during save was the only approach that actually did anything. Debugging copyFormValuesToEntity() showed that all of my fields defined via the drupal interface were having !isset($extracted[$name]) evaluate to false (while hidden fields like 'changed' and 'created' do not do this), and I can't figure out why this is the case. I got to debugging extractFormValues, which led me to a dead end.
|
|
Aug 3, 2016 at 21:58 | history | answered | Berdir | CC BY-SA 3.0 |