function node_example_theme

You are here

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

Implementation of hook_theme().

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

Related topics

File

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

Code

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