You are here

function template_preprocess_stripe_element in Stripe 8

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

Implements template_preprocess().

File

./stripe.module, line 54
Contains stripe.module.

Code

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