function fullcalendar_admin_settings in FullCalendar 7.2
Same name and namespace in other branches
- 6.2 includes/fullcalendar.admin.inc \fullcalendar_admin_settings()
- 6 fullcalendar.admin.inc \fullcalendar_admin_settings()
- 7 fullcalendar.admin.inc \fullcalendar_admin_settings()
General configuration form for controlling the FullCalendar behaviour.
1 string reference to 'fullcalendar_admin_settings'
- fullcalendar_menu in ./
fullcalendar.module - Implements hook_menu().
File
- includes/
fullcalendar.admin.inc, line 11 - Administrative page callbacks for the FullCalendar module.
Code
function fullcalendar_admin_settings() {
$fullcalendar_path = variable_get('fullcalendar_path', fullcalendar_default_path());
$form['fullcalendar_path'] = array(
'#type' => 'textfield',
'#title' => t('Path to FullCalendar'),
'#default_value' => $fullcalendar_path,
'#description' => t('Enter the path relative to Drupal root where the FullCalendar plugin directory is located.'),
);
$form['fullcalendar_compression_type'] = array(
'#type' => 'radios',
'#title' => t('Choose FullCalendar compression level'),
'#options' => array(
'min' => t('Production (Minified)'),
'none' => t('Development (Uncompressed code)'),
),
'#default_value' => variable_get('fullcalendar_compression_type', 'min'),
);
return system_settings_form($form);
}