node_example_theme

Definition

node_example_theme()
developer/examples/node_example.module, line 260

Description

Implementation of hook_theme().

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

Code

<?php
function node_example_theme() {
  return array(
    'node_example_order_info' => array(
      'arguments' => array('node'),
    ),
  );
}
?>
 
 

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.