You are here

function template_preprocess_flexiform in Flexiform 7

Preprocessor for flexiforms.

File

./flexiform.module, line 347
Module for the Flexiform system.

Code

function template_preprocess_flexiform(&$variables) {
  $variables['form'] = drupal_render_children($variables['element']);
  $variables['form_html_id'] = 'flexiform--' . $variables['element']['#id'];
}