Same name and namespace in other branches
- 4.6.x modules/node.module \node_form()
- 5.x modules/node/node.module \node_form()
- 6.x modules/node/node.pages.inc \node_form()
- 7.x modules/node/node.pages.inc \node_form()
Generate the node editing form.
1 call to node_form()
- node_add in modules/
node.module - Present a node submission form or a set of links to such forms.
File
- modules/
node.module, line 1637 - The core that allows content to be submitted to the site.
Code
function node_form($node) {
$node = (object) $node;
$form = node_form_array($node);
return drupal_get_form($node->type . '_node_form', $form, 'node_form');
}