public function GeoTimezone::getName in Geo Time Zone 6
Same name and namespace in other branches
- 8 src/GeoTimezone.php \Drupal\geotimezone\GeoTimezone::getName()
- 7 src/GeoTimezone.php \Drupal\geotimezone\GeoTimezone::getName()
Get the timezone name.
Return value
string Timezone name.
File
- src/
GeoTimezone.php, line 77 - Contains \Drupal\geotimezone\GeoTimezoneMap.
Class
- GeoTimezone
- Determine the timezone based on coordinates.
Namespace
Drupal\geotimezoneCode
public function getName() {
return $this->timezone
->getName();
}