function nodeapi_example_theme

Same name in other branches
  1. 7.x-1.x nodeapi_example/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

Code

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