function node_form_submit_build_node

cis7 node_form_submit_build_node($form, &$form_state)
cle7 node_form_submit_build_node($form, &$form_state)
elmsmedia7 node_form_submit_build_node($form, &$form_state)
icor7 node_form_submit_build_node($form, &$form_state)
meedjum_blog7 node_form_submit_build_node($form, &$form_state)
mooc7 node_form_submit_build_node($form, &$form_state)

Updates the form state's node entity by processing this submission's values.

This is the default builder function for the node form. It is called during the "Save" and "Preview" submit handlers to retrieve the entity to save or preview. This function can also be called by a "Next" button of a wizard to update the form state's entity with the current step's values before proceeding to the next step.

See also


3 calls to node_form_submit_build_node()
diff_node_form_build_preview_changes in sites/all/modules/ulmus/diff/diff.module
Submit handler for the 'View changes' action.
node_form_build_preview in modules/node/
Form submission handler for node_form().
node_form_submit in modules/node/
Form submission handler for node_form().


modules/node/, line 496
Page callbacks for adding, editing, deleting, and revisions management for content.


function node_form_submit_build_node($form, &$form_state) {
  // @todo Legacy support for modules that extend the node form with form-level
  //   submit handlers that adjust $form_state['values'] prior to those values
  //   being used to update the entity. Module authors are encouraged to instead
  //   adjust the node directly within a hook_node_submit() implementation. For
  //   Drupal 8, evaluate whether the pattern of triggering form-level submit
  //   handlers during button-level submit processing is worth supporting
  //   properly, and if so, add a Form API function for doing so.
  form_execute_handlers('submit', $form, $form_state);

  $node = $form_state['node'];
  entity_form_submit_build_entity('node', $node, $form, $form_state);

  foreach (module_implements('node_submit') as $module) {
    $function = $module . '_node_submit';
    $function($node, $form, $form_state);
  return $node;



Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/ in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/
The website encountered an unexpected error. Please try again later.