You are here

function uc_file_theme in Ubercart 7.3

Same name and namespace in other branches
  1. 8.4 uc_file/uc_file.module \uc_file_theme()
  2. 6.2 uc_file/uc_file.module \uc_file_theme()

Implements hook_theme().

File

uc_file/uc_file.module, line 93
Allows products to be associated with downloadable files.

Code

function uc_file_theme() {
  return array(
    'uc_file_downloads_token' => array(
      'variables' => array(
        'file_downloads' => NULL,
      ),
      'file' => 'uc_file.tokens.inc',
    ),
    'uc_file_admin_files_form_show' => array(
      'render element' => 'form',
      'file' => 'uc_file.admin.inc',
    ),
    'uc_file_hook_user_file_downloads' => array(
      'render element' => 'form',
      'file' => 'uc_file.theme.inc',
    ),
    'uc_file_user_downloads' => array(
      'variables' => array(
        'header' => NULL,
        'files' => NULL,
      ),
      'file' => 'uc_file.pages.inc',
    ),
  );
}