You are here

public function Timezone::getIdentifier in Geo Time Zone 8.3

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

Get the time zone identifier.

Return value

string Time zone identifier. NULL if not found.

Overrides TimezoneInterface::getIdentifier

File

src/Timezone.php, line 55
Contains \Drupal\geotimezone\Timezone.

Class

Timezone
Holds the list of time zone identifiers and UTC/GMT offsets.

Namespace

Drupal\geotimezone

Code

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