function theme_features_form_buttons in Features 6
Same name and namespace in other branches
- 7.2 theme/theme.inc \theme_features_form_buttons()
- 7 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 - admin/build/features page callback.
- features_cleanup_form in ./
features.admin.inc - Form for disabling orphaned dependencies.
- 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 174
Code
function theme_features_form_buttons($element) {
drupal_add_css(drupal_get_path('module', 'features') . '/features.css');
$output = drupal_render($element);
return !empty($output) ? "<div class='buttons clear-block'>{$output}</div>" : '';
}