You are here

function node_page_edit in Drupal 6

Same name and namespace in other branches
  1. 5 modules/node/node.module \node_page_edit()
  2. 7 modules/node/node.pages.inc \node_page_edit()

Menu callback; presents the node editing form, or redirects to delete confirmation.

1 string reference to 'node_page_edit'
node_menu in modules/node/node.module
Implementation of hook_menu().

File

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

Code

function node_page_edit($node) {
  drupal_set_title(check_plain($node->title));
  return drupal_get_form($node->type . '_node_form', $node);
}