function partial_date_estimate_handling_options in Partial Date 7
1 call to partial_date_estimate_handling_options()
File
- ./
partial_date.pages.inc, line 265 - Page and form callbacks for handling the date format.
Code
function partial_date_estimate_handling_options() {
return array(
'none' => t('Hide', array(), array(
'context' => 'datetime',
)),
'estimate_label' => t('Estimate label', array(), array(
'context' => 'datetime',
)),
'estimate_range' => t('Estimate range', array(), array(
'context' => 'datetime',
)),
'estimate_component' => t('Start (single or from dates) or End (to dates) of estimate range', array(), array(
'context' => 'datetime',
)),
'date_only' => t('Date component if set', array(), array(
'context' => 'datetime',
)),
'date_or' => t('Date component with fallback to estimate component', array(), array(
'context' => 'datetime',
)),
);
}