function _semantic_panels_get_options_predefined_styles in Semantic Panels 7.2
1 call to _semantic_panels_get_options_predefined_styles()
- semantic_panels_pane_settings_form in plugins/
styles/ semantic_panels.inc - Pane settings form
File
- plugins/
styles/ semantic_panels.inc, line 336
Code
function _semantic_panels_get_options_predefined_styles() {
$options = array(
'' => t('No predefined style selected'),
);
foreach (semantic_panels_style_load_all() as $style) {
if (!empty($style->category)) {
$options[$style->category][$style->name] = $style->admin_title;
}
else {
$options[$style->name] = $style->admin_title;
}
}
return $options;
}