protected function FeedsEntityProcessorPropertyDate::getTimezoneOptions in Feeds entity processor 7
Returns the timezone options.
Return value
array A map of timezone options.
2 calls to FeedsEntityProcessorPropertyDate::getTimezoneOptions()
- FeedsEntityProcessorPropertyDate::mappingFormCallback in src/
Property/ FeedsEntityProcessorPropertyDate.php - Form callback for date targets.
- FeedsEntityProcessorPropertyDate::mappingSummaryCallback in src/
Property/ FeedsEntityProcessorPropertyDate.php - Summary callback for date targets.
File
- src/
Property/ FeedsEntityProcessorPropertyDate.php, line 113 - Contains FeedsEntityProcessorPropertyDate.
Class
- FeedsEntityProcessorPropertyDate
- Handler for date property.
Code
protected function getTimezoneOptions() {
return array(
'__SITE__' => t('Site default'),
) + system_time_zones();
}