Timeline for Alter form value in submit_preprocess
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 10, 2016 at 18:52 | vote | accept | Jeff W Petersen | ||
May 10, 2016 at 18:49 | answer | added | Vagner | timeline score: 1 | |
May 10, 2016 at 18:41 | comment | added | Jeff W Petersen | That is a viable answer and accomplishes the task. | |
May 10, 2016 at 18:19 | comment | added | Vagner |
In this case, maybe it is better use MODULE_ENTITY_presave() function. After submit and before save in db, Drupal call this function then you can change something in your entity. If you want to change a node, then use MODULE_node_presave() . And will be called when you create and update.
|
|
May 10, 2016 at 14:56 | history | asked | Jeff W Petersen | CC BY-SA 3.0 |