1.20.x node.pages.inc node_page_edit(Node $node)

Page callback: Presents the node editing form.

See also

node_menu()

File

modules/node/node.pages.inc, line 16
Callbacks for adding, editing, and deleting content and managing revisions.

Code

function node_page_edit(Node $node) {
  $type_name = node_type_get_name($node);
  backdrop_set_title(t('Edit @type %title', array('@type' => $type_name, '%title' => $node->title)), PASS_THROUGH);
  return backdrop_get_form($node->type . '_node_form', $node);
}