node_edit

Definition

node_edit($id)
modules/node.module, line 1472

Description

Present a node editing form.

Code

<?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;
}
?>
 
 

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.