node_example_theme

Versions
6 – 7
node_example_theme()

Implementation of hook_theme().

This lets us tell Drupal about our theme functions and their arguments.

Code

developer/examples/node_example.module, line 260

<?php
function node_example_theme() {
  return array(
    'node_example_order_info' => array(
      'arguments' => array('node'),
    ),
  );
}
?>
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.