Advertisement
Guest User

Untitled

a guest
Oct 11th, 2011
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.48 KB | None | 0 0
  1. /**
  2.  * Implements hook_theme().
  3.  */
  4. function mymodule_theme() {
  5.   return array(
  6.     'page_node_form' => array(
  7.       'render element' => 'form'
  8.     ),
  9.   );
  10. }
  11.  
  12. /**
  13.  * Revised output for the form.
  14.  *
  15.  * @param $variables
  16.  *   An associative array containing:
  17.  *   - form: A render element representing the form.
  18.  *
  19.  * @ingroup themeable
  20.  */
  21. function theme_page_node_form(&$variables) {
  22.   $form = $variables['form'];
  23.   // Blah blah blah...
  24.   return drupal_render($form);
  25. }
  26.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement