You are here

function simple_mobile_menu_theme in Simple Mobile Menu 8.2

Same name and namespace in other branches
  1. 8 simple_mobile_menu.module \simple_mobile_menu_theme()

Implements hook_theme().

Parameters

array $existing :

string $type:

string $theme:

string $path:

Return value

array

File

./simple_mobile_menu.module, line 70
Contains simple_mobile_menu.module

Code

function simple_mobile_menu_theme($existing, $type, $theme, $path) {
  return [
    'simple_mobile_menu' => [
      'template' => 'simple-mobile-menu',
      'variables' => [
        'menu_output' => NULL,
      ],
    ],
    'menu__simple_mobile_menu' => [
      'base hook' => 'menu',
      'variables' => [
        'items' => [],
        'attributes' => [],
      ],
    ],
  ];
}