6.x-1.x node_example.module node_example_theme()
7.x-1.x node_example.module node_example_theme($existing, $type, $theme, $path)

Implementation of hook_theme().

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

Related topics


node_example/node_example.module, line 290
This is an example outlining how a module can be used to define a new node type.


function node_example_theme() {
  return array(
    'node_example_order_info' => array(
      'arguments' => array(