You are here

public function GeoTimezone::getIdentifier in Geo Time Zone 8.3

Same name and namespace in other branches
  1. 8.2 src/GeoTimezone.php \Drupal\geotimezone\GeoTimezone::getIdentifier()
  2. 6.2 src/GeoTimezone.php \Drupal\geotimezone\GeoTimezone::getIdentifier()
  3. 7.2 src/GeoTimezone.php \Drupal\geotimezone\GeoTimezone::getIdentifier()

Get the time zone identifier.

Return value

string Time zone identifier.

Overrides TimezoneInterface::getIdentifier

File

src/GeoTimezone.php, line 77
Contains \Drupal\geotimezone\GeoTimezone.

Class

GeoTimezone
Determine the time zone based on coordinates.

Namespace

Drupal\geotimezone

Code

public function getIdentifier() {
  return $this->timezone
    ->getIdentifier();
}