Published in: PHP
|
|
|
Expand |
Embed | Plain Text
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;
You need to login to post a comment.