node_edit

Versions
4.6
node_edit($id)

Present a node editing form.

▾ 1 function calls node_edit()

node_page in modules/node.module
Menu callback; dispatches control to the appropriate operation handler.

Code

modules/node.module, line 1472

<?php
function node_edit($id) {
  global $user;

  $node = node_load(array('nid' => $id));

  drupal_set_title(check_plain($node->title));

  $output = node_form($node);

  return $output;
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.