You are here

function uc_wishlist_theme in UC Wish List 8

Same name and namespace in other branches
  1. 6 uc_wishlist.module \uc_wishlist_theme()
  2. 7 uc_wishlist.module \uc_wishlist_theme()

Implements hook_theme().

File

./uc_wishlist.module, line 16
Allows users to create public shopping/wish lists.

Code

function uc_wishlist_theme() {
  return [
    'uc_wishlist_view_wishlist' => [
      'variables' => [
        'form' => NULL,
        'expired' => FALSE,
        'expiration_date' => NULL,
        'message' => NULL,
        'wishlist' => NULL,
        'email_link' => NULL,
      ],
    ],
    'uc_wishlist_block_title' => [
      'variables' => [
        'wishlist_image' => NULL,
        'uc_wishlist_path' => FALSE,
        'arrow_up_image' => FALSE,
      ],
    ],
    'uc_wishlist_block_content' => [
      'variables' => [],
    ],
    'uc_wishlist_view_form' => [
      'render element' => 'form',
    ],
  ];
}