You are here

function uc_catalog_theme in Ubercart 8.4

Same name and namespace in other branches
  1. 6.2 uc_catalog/uc_catalog.module \uc_catalog_theme()
  2. 7.3 uc_catalog/uc_catalog.module \uc_catalog_theme()

Implements hook_theme().

File

uc_catalog/uc_catalog.module, line 43
Ubercart Catalog module.

Code

function uc_catalog_theme() {
  return [
    'uc_catalog_block' => [
      'variables' => [
        'menu_tree' => NULL,
      ],
      'file' => 'uc_catalog.theme.inc',
      'function' => 'theme_uc_catalog_block',
    ],
    'uc_catalog_item' => [
      'variables' => [
        'here' => NULL,
        'link' => NULL,
        'lis' => NULL,
        'expand' => NULL,
        'inpath' => NULL,
        'count_children' => NULL,
      ],
      'file' => 'uc_catalog.theme.inc',
      'function' => 'theme_uc_catalog_item',
    ],
  ];
}