You are here

function commerce_email_preprocess_token_tree in Commerce Email 7

File

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

Code

function commerce_email_preprocess_token_tree(&$variables) {
  if (array_intersect(array(
    'node',
    'user',
  ), $variables['token_types'])) {
    $variables['recursion_limit'] = 2;
  }
}