You are here

function panels_list_style_settings_form in Panels 6.2

Same name and namespace in other branches
  1. 5.2 styles/list.inc \panels_list_style_settings_form()
  2. 6.3 plugins/styles/list.inc \panels_list_style_settings_form()
  3. 7.3 plugins/styles/list.inc \panels_list_style_settings_form()

Settings form callback.

1 string reference to 'panels_list_style_settings_form'
panels_list_panels_styles in styles/list.inc
Implementation of hook_panels_style_info().

File

styles/list.inc, line 57
styles/list.inc 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;
}