function js_example_theme

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

modules/js_example/js_example.module, line 26

Code

function js_example_theme() {
    return [
        'js_example_accordion' => [
            'template' => 'accordion',
            'variables' => [
                'title' => NULL,
            ],
        ],
    ];
}