The API contains a method to retrieve a region name given the country code and region code, but there's currently no method with which to retrieve the regions for a given country. It would be useful if we could retrieve, say, all regions in GB.

CommentFileSizeAuthor
#1 geoip.query_regions_for_country.patch830 bytesrmathew
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

rmathew’s picture

Status: Active » Needs review
FileSize
830 bytes

Patch adds a geoip_region_values($country_code) method to return all regions for a given country code.

bojanz’s picture

Issue summary: View changes
Status: Needs review » Closed (outdated)