You are here

function footermap_theme in footermap: a footer site map 8

Same name and namespace in other branches
  1. 7 footermap.module \footermap_theme()

Implements hook_theme().

File

./footermap.module, line 25
Footermap module file.

Code

function footermap_theme($existing, $type, $theme, $path) {
  return [
    'footermap' => [
      'variables' => [
        'footermap' => NULL,
        'title' => NULL,
        'block' => NULL,
      ],
      'file' => 'footermap.theme.inc',
      'template' => 'footermap',
    ],
    'footermap_item' => [
      'variables' => [
        'url' => NULL,
        'title' => NULL,
        'level' => NULL,
        'children' => NULL,
        'attributes' => NULL,
        'weight' => NULL,
      ],
      'file' => 'footermap.theme.inc',
      'template' => 'footermap-item',
    ],
    'footermap_header' => [
      'variables' => [
        'title' => NULL,
        'title_display' => NULL,
        'items' => NULL,
        'attributes' => NULL,
        'menu_name' => NULL,
      ],
      'file' => 'footermap.theme.inc',
      'template' => 'footermap-header',
    ],
  ];
}