Return to Snippet

Revision: 13284
at April 17, 2009 13:17 by jonathanpglick


Initial Code
module_load_include('inc', 'node', 'node.pages');

// Mock the node type
$node = new stdClass();
$node->type = '{node type}';
    
$form = drupal_get_form('{node type}_node_form', $node);

return $form;

Initial URL


Initial Description


Initial Title
Load node form from menu callback

Initial Tags
drupal

Initial Language
PHP