function panels_list_style_settings_form in Panels 7.3
Same name and namespace in other branches
- 5.2 styles/list.inc \panels_list_style_settings_form()
- 6.3 plugins/styles/list.inc \panels_list_style_settings_form()
- 6.2 styles/list.inc \panels_list_style_settings_form()
Settings form callback.
1 string reference to 'panels_list_style_settings_form'
File
- plugins/
styles/ list.inc, line 45 - Definition of the 'list' panel style.
Code
function panels_list_style_settings_form($style_settings) {
$form['list_type'] = array(
'#type' => 'select',
'#title' => t('List type'),
'#options' => array(
'ul' => t('Unordered'),
'ol' => t('Ordered'),
),
'#default_value' => isset($style_settings['list_type']) ? $style_settings['list_type'] : 'ul',
);
return $form;
}