You are here

function location_views_provinces in Location 5

Get an array of provinces, optionally limited by country.

2 calls to location_views_provinces()
location_views_handler_arg_province in contrib/location_views/location_views.module
location_views_tables in contrib/location_views/location_views.module
For operation with the views.module.

File

contrib/location_views/location_views.module, line 899
Views-enables the location module.

Code

function location_views_provinces($country = '') {
  $form = location_province_select_options('', FALSE, $country);
  return $form['#options'];
}