You are here

function theme_features_form_components in Features 6

Same name and namespace in other branches
  1. 7.2 theme/theme.inc \theme_features_form_components()
  2. 7 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 callback for features export form. Acts as a router based on the form_state.

File

theme/theme.inc, line 264

Code

function theme_features_form_components($form) {
  $output = '';
  foreach (element_children($form) as $key) {
    unset($form[$key]['#title']);
    $output .= "<div class='features-select features-select-{$key}'>" . drupal_render($form[$key]) . "</div>";
  }
  return $output;
}