function partial_date_format_settings in Partial Date 7
4 calls to partial_date_format_settings()
File
- ./
partial_date.module, line 606 - Defines a date element that allows for any combination of date granularity settings.
Code
function partial_date_format_settings($type) {
$settings =& drupal_static(__FUNCTION__, array());
if (!isset($settings[$type])) {
$settings[$type] = variable_get('partial_date_format_' . $type, partial_date_format_default_options($type));
}
return $settings[$type];
}