function theme_features_form_components in Features 7
Same name and namespace in other branches
- 6 theme/theme.inc \theme_features_form_components()
- 7.2 theme/theme.inc \theme_features_form_components()
Theme a set of features export components.
1 theme call to theme_features_form_components()
- features_export_form in ./
features.admin.inc - Form constructor for features export form.
File
- theme/
theme.inc, line 240
Code
function theme_features_form_components(&$vars) {
$output = '';
foreach (element_children($vars['form']) as $key) {
unset($vars['form'][$key]['#title']);
$output .= "<div class='features-select features-select-{$key}'>" . drupal_render($vars['form'][$key]) . "</div>";
}
$output .= drupal_render_children($vars['form']);
return $output;
}