You are here

function commerce_webform_theme in Commerce Webform 7.2

Same name and namespace in other branches
  1. 8 commerce_webform.module \commerce_webform_theme()
  2. 7 commerce_webform.module \commerce_webform_theme()

Implements hook_theme().

File

./commerce_webform.module, line 195
Commerce Webform module file

Code

function commerce_webform_theme() {
  return array(
    'webform_display_productfield' => array(
      'render element' => 'element',
      'file' => 'productfield.inc',
    ),
    'commerce_webform_product_display' => array(
      'variables' => array(
        'product' => NULL,
        'price' => array(),
        'component' => array(),
      ),
      'file' => 'productfield.inc',
    ),
  );
}