You are here

function template_preprocess_stripe_element in Stripe 2.x

Same name and namespace in other branches
  1. 8 stripe.module \template_preprocess_stripe_element()

Implements template_preprocess().

File

./stripe.module, line 57
Contains stripe.module.

Code

function template_preprocess_stripe_element(&$variables) {
  $element =& $variables['element'];
  $variables['children'] = $element;
  $variables['id'] = $element['#id'];
}