You are here

function theme_features_form_buttons in Features 7

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

Theme function for displaying form buttons

4 theme calls to theme_features_form_buttons()
features_admin_components in ./features.admin.inc
Display the components of a feature.
features_admin_form in ./features.admin.inc
Form constructor for the features configuration form.
features_cleanup_form in ./features.admin.inc
Form for disabling orphaned dependencies.
features_export_form in ./features.admin.inc
Form constructor for features export form.

File

theme/theme.inc, line 150

Code

function theme_features_form_buttons(&$vars) {
  drupal_add_css(drupal_get_path('module', 'features') . '/features.css');
  $output = drupal_render_children($vars['element']);
  return !empty($output) ? "<div class='buttons clearfix'>{$output}</div>" : '';
}