function panopoly_core_configure_form in Panopoly Core 7
Configuration Form for Panopoly Core
1 string reference to 'panopoly_core_configure_form'
- panopoly_core_apps_app_info in ./
panopoly_core.module - Implements hook_apps_app_info()
File
- ./
panopoly_core.module, line 32
Code
function panopoly_core_configure_form($form, &$form_state) {
$form = array();
$form['panopoly_core_breadcrumb_title'] = array(
'#title' => t('Append Page Title to Site Breadcrumb'),
'#type' => 'select',
'#required' => TRUE,
'#options' => array(
'1' => 'Enabled',
'0' => 'Disabled',
),
'#default_value' => variable_get('panopoly_core_breadcrumb_title', 1),
'#description' => t('Do you want Panopoly to append the page title to the site breadcrumb?'),
);
$form['panopoly_core_override_jquery_ui_theme'] = array(
'#title' => t('Override jQuery UI theme provided by any theme'),
'#type' => 'select',
'#required' => TRUE,
'#options' => array(
'1' => 'Enabled',
'0' => 'Disabled',
),
'#default_value' => variable_get('panopoly_core_override_jquery_ui_theme', 1),
'#description' => t('Panopoly provides a custom jQuery UI theme. If this option is disabled, it will only be used by themes that don\'t provide one of their own. However, if enabled, we\'ll override all themes.'),
);
return system_settings_form($form);
}