You are here

function commerce_file_theme in Commerce File 7.2

Same name and namespace in other branches
  1. 8.2 commerce_file.module \commerce_file_theme()
  2. 7 commerce_file.module \commerce_file_theme()

Implements hook_theme().

File

./commerce_file.module, line 748
Extends Commerce License with the ability to sell access to files.

Code

function commerce_file_theme() {
  return array(
    'commerce_file_download_link' => array(
      'variables' => array(
        'file' => NULL,
        'license' => NULL,
        'icon' => NULL,
        'filesize' => NULL,
      ),
    ),
  );
}