You are here

function template_preprocess_commerce_order_email in Commerce Email 7

Add theme suggestion for users language

File

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

Code

function template_preprocess_commerce_order_email(&$variables) {
  $variables['theme_hook_suggestions'][] = 'commerce_order_email__' . $variables['language'];
}