You are here

function commerce_file_theme in Commerce File 7

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

Implements hook_theme().

File

./commerce_file.module, line 299
Provides integration of file licenses with Commerce

Code

function commerce_file_theme() {
  return array(
    'commerce_file_file_link_plain' => array(
      'variables' => array(
        'file' => NULL,
        'icon_directory' => NULL,
      ),
    ),
    'commerce_file_file_formatter_table_plain' => array(
      'variables' => array(
        'items' => NULL,
      ),
    ),
  );
}