You are here

function commerce_email_theme in Commerce Email 7

Same name and namespace in other branches
  1. 7.2 commerce_email.module \commerce_email_theme()

Implements hook_theme().

File

./commerce_email.module, line 47
Defines additional menu item and order html email functonality.

Code

function commerce_email_theme() {
  return array(
    'commerce_order_email' => array(
      'variables' => array(
        'site' => NULL,
        'order' => NULL,
        'customer_profile' => NULL,
        'language' => NULL,
      ),
      'template' => 'theme/commerce-order-email',
    ),
    'commerce_account_email' => array(
      'variables' => array(
        'site' => NULL,
        'user' => NULL,
        'login' => NULL,
        'language' => NULL,
      ),
      'template' => 'theme/commerce-account-email',
    ),
    'commerce_admin_order_email' => array(
      'variables' => array(
        'site' => NULL,
        'user' => NULL,
        'login' => NULL,
        'language' => NULL,
      ),
      'template' => 'theme/commerce-admin-order-email',
    ),
  );
}