drupal-make issueshttps://0xacab.org/radar/drupal-make/-/issues2014-12-14T11:38:38Zhttps://0xacab.org/radar/drupal-make/-/issues/25Expose country code lookup table2014-12-14T11:38:38ZekesExpose country code lookup table*Created by: ekes*
We're using custom country codes in addition to the <a href="https://api.drupal.org/api/drupal/includes!iso.inc/function/_country_get_predefined_list/7">predefined ISO codes</a>. It would be handy to expose these.
Fo...*Created by: ekes*
We're using custom country codes in addition to the <a href="https://api.drupal.org/api/drupal/includes!iso.inc/function/_country_get_predefined_list/7">predefined ISO codes</a>. It would be handy to expose these.
For reference as of writing these are the additions:
``` php
// Adding Catalonia to the country list.
$countries['XC'] = $t('Catalonia');
// Basque - Euskadi (hence E)
$countries['XE'] = $t('Basque');
// Kosovo
$countries['XK'] = $t('Kosovo');
// Renaming Palestine.
$countries['PS'] = $t('Palestine');
```
API v2https://0xacab.org/radar/drupal-make/-/issues/2Make v2 API with Restful2014-12-05T12:19:35ZekesMake v2 API with Restful*Created by: ekes*
Should do a much cleaner replacement for the API with https://www.drupal.org/project/restful will require wrapping the search_api access.
*Created by: ekes*
Should do a much cleaner replacement for the API with https://www.drupal.org/project/restful will require wrapping the search_api access.
API v2