uc_file_theme

  1. drupal
    1. 6 uc_file.module function
    2. 7 uc_file.module function
Drupal 7 uc_file_theme()

Implements hook_theme().

File

sites/all/modules/ubercart/uc_file/uc_file.module, line 95
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',
    ),
  );
}