[development] node not fully loaded in hook_view() when previewing

augustin (beginner) drupal.beginner at wechange.org
Sat Mar 28 11:04:46 UTC 2009

On Friday 27 March 2009 15:46:54 Jakob Petsovits wrote:
> No, because it might not even exist yet in the database ("create content").

Yes, this is another scenario that I hadn't mentioned but that I was aware of.

> However, submitted values as in $form_state['values'] will be merged into
> the node object on preview and save, so you might e.g. add more node
> properties in hook_nodeapi($op='validate'), or stuff.

I'll test along those lines, thanks.



More information about the development mailing list