function _amazon_default_locales in Amazon Product Advertisement API 7.2
Same name and namespace in other branches
- 6 amazon.module \_amazon_default_locales()
- 7 amazon.module \_amazon_default_locales()
1 call to _amazon_default_locales()
- amazon_data_cache in ./
amazon.module - Misc. helper functions for managing the wide array of Amazon data bitsies.
File
- ./
amazon.module, line 997
Code
function _amazon_default_locales() {
// Load default locales from includes/amazon.locales.inc
require_once drupal_get_path('module', 'amazon') . '/includes/amazon.locales.inc';
$locales = _amazon_load_locales();
// Fire hook_amazon_locales_alter() to allow modules to manipulate default locales.
drupal_alter('amazon_locales', $locales);
return $locales;
}