public function Timezone::getName in Geo Time Zone 7
Same name and namespace in other branches
- 8 src/Timezone.php \Drupal\geotimezone\Timezone::getName()
- 6 src/Timezone.php \Drupal\geotimezone\Timezone::getName()
Get the timezone name.
Return value
string Timezone name.
File
- src/
Timezone.php, line 47 - Contains \Drupal\geotimezone\Timezone.
Class
- Timezone
- Holds the list of timezone names and offset.
Namespace
Drupal\geotimezoneCode
public function getName() {
return static::$list[$this->index]['name'];
}