function node_form_build_preview in Drupal 6
Same name and namespace in other branches
- 7 modules/node/node.pages.inc \node_form_build_preview()
1 string reference to 'node_form_build_preview'
- node_form in modules/
node/ node.pages.inc - Generate the node add/edit form array.
File
- modules/
node/ node.pages.inc, line 319 - Page callbacks for adding, editing, deleting, and revisions management for content.
Code
function node_form_build_preview($form, &$form_state) {
$node = node_form_submit_build_node($form, $form_state);
$form_state['node_preview'] = node_preview($node);
}