You are here

function theme_features_form_export in Features 7.2

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

Export selection / display for features export form.

Parameters

array $vars: Variables for this theme hook.

Return value

string Rendered HTML.

File

theme/theme.inc, line 306
Theme functions and (pre)processors for 'features' module.

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']['preview']) . drupal_render($vars['form']['features']) . "</div>";
  $output .= "</div>";
  $output .= drupal_render_children($vars['form']);
  return $output;
}