1 locale.inc timezone_country_get_list()

Get list of all predefined and custom timezone countries.

Return value

An array of all timezone => country code pairs.:

File

core/includes/locale.inc, line 883
Administration functions for locale.module.

Code

function timezone_country_get_list() {
  include_once BACKDROP_ROOT . '/core/includes/standard.inc';
  $timezone_countries = standard_timezone_country_list();
  // Allow other modules to modify the timezone_country list.
  backdrop_alter('timezone_countries', $timezone_countries);
  return $timezone_countries;
}