nodeapi_example_theme

6 nodeapi_example.module nodeapi_example_theme()
7 nodeapi_example.module nodeapi_example_theme()
8 nodeapi_example.module nodeapi_example_theme()

Implementation of hook_theme().

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

Related topics

File

nodeapi_example/nodeapi_example.module, line 161
This is an example outlining how a module can be used to extend existing content types.

Code

function nodeapi_example_theme() {
  return array(
    'nodeapi_example_rating' => array(
      'arguments' => array('rating'),
    ),
  );
}
Login or register to post comments