You are here

public static function Store::getTimezones in Commerce Core 8.2

Gets the allowed values for the 'timezone' base field.

Return value

array The allowed values.

File

modules/store/src/Entity/Store.php, line 414

Class

Store
Defines the store entity class.

Namespace

Drupal\commerce_store\Entity

Code

public static function getTimezones() {
  return system_time_zones(NULL, TRUE);
}