Contributions API

nodeapi_example_theme

Definition

nodeapi_example_theme()
documentation/examples/nodeapi_example.module, line 128

Description

Implementation of hook_theme().

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

Code

<?php
function nodeapi_example_theme() {
  return array(
    'nodeapi_example_rating' => array(
      'arguments' => array('rating'),
    ),
  );
}
?>