function date_tools_wizard_options in Date 6.2
1 call to date_tools_wizard_options()
- date_tools_wizard_required_modules in date_tools/
date_tools.wizard.inc - Return an array of the modules needed by this wizard.
File
- date_tools/
date_tools.wizard.inc, line 206 - Date Wizard code.
Code
function date_tools_wizard_options($options = array()) {
$default_options = array();
if (module_exists('date_popup')) {
$default_options[] = 'popups';
}
if (module_exists('date_repeat')) {
$default_options[] = 'repeat';
}
if (module_exists('calendar')) {
$default_options[] = 'linked';
}
// Allow override of default options.
if (!empty($options)) {
return $options;
}
else {
return $default_options;
}
}