Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Implements hook_theme().
- */
- function mymodule_theme() {
- return array(
- 'page_node_form' => array(
- 'render element' => 'form'
- ),
- );
- }
- /**
- * Revised output for the form.
- *
- * @param $variables
- * An associative array containing:
- * - form: A render element representing the form.
- *
- * @ingroup themeable
- */
- function theme_page_node_form(&$variables) {
- $form = $variables['form'];
- // Blah blah blah...
- return drupal_render($form);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement