theme_node_form

Versions
4.7 – 6
theme_node_form($form)
7
theme_node_form($variables)

Present a node submission form.

Related topics

Code

modules/node/node.pages.inc, line 328

<?php
function theme_node_form($variables) {
  $form = $variables['form'];

  $output = "\n<div class=\"node-form\">\n";

  $output .= "  <div class=\"standard\">\n";
  $output .= drupal_render_children($form);
  $output .= "  </div>\n";

  $output .= "</div>\n";

  return $output;
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.