function js_example_theme

Same name in other branches
  1. 3.x modules/js_example/js_example.module \js_example_theme()
  2. 8.x-1.x js_example/js_example.module \js_example_theme()
  3. 7.x-1.x 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,
            ],
        ],
    ];
}