You are here

function _amazon_default_locales in Amazon Product Advertisement API 7

Same name and namespace in other branches
  1. 6 amazon.module \_amazon_default_locales()
  2. 7.2 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 814

Code

function _amazon_default_locales() {
  $locales = array();

  // 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;
}