You are here

function panopoly_wysiwyg_configure_form in Panopoly WYSIWYG 7

Configuration Form for Panopoly WYSIWYG

1 string reference to 'panopoly_wysiwyg_configure_form'
panopoly_wysiwyg_apps_app_info in ./panopoly_wysiwyg.module
Implements hook_apps_app_info()

File

./panopoly_wysiwyg.module, line 21

Code

function panopoly_wysiwyg_configure_form($form, &$form_state) {
  $form = array();
  $form['panopoly_wysiwyg_show_format_details'] = array(
    '#title' => t('Show Text Formatter Details'),
    '#type' => 'select',
    '#required' => TRUE,
    '#options' => array(
      '1' => 'Show',
      '0' => 'Do Not Show',
    ),
    '#default_value' => variable_get('panopoly_wysiwyg_show_format_details', 0),
    '#description' => t('Do you want Panopoly to show the help text and text format guidelines?'),
  );
  return system_settings_form($form);
}