function js_example_theme

Same name in other branches
  1. 3.x modules/js_example/js_example.module \js_example_theme()
  2. 4.0.x modules/js_example/js_example.module \js_example_theme()

Implements hook_theme().

Related topics

File

js_example/js_example.module, line 18

Code

function js_example_theme() {
    return array(
        'my_accordion' => array(
            'template' => 'accordion',
            'variables' => array(
                'title' => NULL,
            ),
        ),
    );
}