function theme_ds_subgroup_label in Display Suite 6.3
Same name and namespace in other branches
- 6.2 theme/theme.inc \theme_ds_subgroup_label()
Theme the subgroup label
1 string reference to 'theme_ds_subgroup_label'
- _ds_theme in includes/
ds.registry.inc - Return theme functions.
3 theme calls to theme_ds_subgroup_label()
- theme_ds_multigroup_comma_separated in theme/
theme.inc - Theme a multigroup as a comma separated list
- theme_ds_multigroup_div in theme/
theme.inc - Theme a multigroup as a collection of simple objects
- theme_ds_multigroup_horizontal_line in theme/
theme.inc - Theme a multigroup divided by horizontal lines
File
- theme/
theme.inc, line 498 - Theming functions for ds.
Code
function theme_ds_subgroup_label($label, $class = NULL) {
$classes = 'content_multigroup';
if (!empty($class)) {
$classes = $classes . ' ' . $class;
}
return '<legend class="' . $classes . '">' . $label . '</legend>';
}