You are here

function panels_list_style_settings_form in Panels 7.3

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. 6.2 styles/list.inc \panels_list_style_settings_form()

Settings form callback.

1 string reference to 'panels_list_style_settings_form'
list.inc in plugins/styles/list.inc
Definition of the 'list' panel style.

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;
}