You are here

function theme_features_form_export in Features 7

Same name and namespace in other branches
  1. 6 theme/theme.inc \theme_features_form_export()
  2. 7.2 theme/theme.inc \theme_features_form_export()

Export selection / display for features export form.

1 theme call to theme_features_form_export()
features_export_form in ./features.admin.inc
Form constructor for features export form.

File

theme/theme.inc, line 224

Code

function theme_features_form_export(&$vars) {
  drupal_add_css(drupal_get_path('module', 'features') . '/features.css');
  drupal_add_js(drupal_get_path('module', 'features') . '/features.js');
  $output = '';
  $output .= "<div class='clearfix features-components'>";
  $output .= "<div class='column'>" . drupal_render($vars['form']['components']) . drupal_render($vars['form']['sources']) . "</div>";
  $output .= "<div class='column'>" . drupal_render($vars['form']['features']) . "</div>";
  $output .= "</div>";
  $output .= drupal_render_children($vars['form']);
  return $output;
}