public function DateTargetBase::getTimezoneOptions in Feeds 8.3
Returns the timezone options.
Return value
array A map of timezone options.
2 calls to DateTargetBase::getTimezoneOptions()
- DateTargetBase::buildConfigurationForm in src/
Feeds/ Target/ DateTargetBase.php - Form constructor.
- DateTargetBase::getSummary in src/
Feeds/ Target/ DateTargetBase.php - Returns the summary for a target.
File
- src/
Feeds/ Target/ DateTargetBase.php, line 74
Class
- DateTargetBase
- A base class for date targets.
Namespace
Drupal\feeds\Feeds\TargetCode
public function getTimezoneOptions() {
return [
'__SITE__' => $this
->t('Site default'),
] + system_time_zones();
}