function simple_mobile_menu_theme in Simple Mobile Menu 8
Same name and namespace in other branches
- 8.2 simple_mobile_menu.module \simple_mobile_menu_theme()
Implements hook_theme().
Parameters
$existing:
$type:
$theme:
$path:
Return value
array
File
- ./
simple_mobile_menu.module, line 78 - Contains simple_mobile_menu.module
Code
function simple_mobile_menu_theme($existing, $type, $theme, $path) {
return array(
'simple_mobile_menu' => [
'template' => 'simple_mobile_menu',
'variables' => [
'menu_output' => NULL,
],
],
'menu__simple_mobile_menu' => [
'base hook' => 'menu',
'variables' => [
'items' => [],
'attributes' => [],
],
],
);
}