function event_node_import_global in Node import 5
Implementation of hook_node_import_global().
File
- supported/
event.inc, line 85
Code
function event_node_import_global($type, $globals) {
if (event_is_enabled($type)) {
if (variable_get('event_timezone_input', 'site') == 'input') {
$form = array();
$form['timezone'] = array(
'#type' => 'select',
'#title' => t('Time zone'),
'#default_value' => event_timezone_map(variable_get('date_default_timezone', 0)),
'#options' => event_zonelist(),
'#description' => t('Select the time zone all imported events occur in.'),
);
return $form;
}
}
}