You are here

function countries_load_configuration_options in Countries 7.2

Same name and namespace in other branches
  1. 8 modules/countries_configuration/countries_configuration.module \countries_load_configuration_options()

Depreciated. Use countries_configuration() instead.

@todo Drop function in next branch.

File

modules/countries_configuration/countries_configuration.module, line 87
Provides the base framework for integration for storing country specific data on behalf of other modules.

Code

function countries_load_configuration_options($country, $name, $load_defaults = 1) {

  // Log a watchdog warning to force future compatiability.
  $config_options = countries_configuration_options();
  watchdog(WATCHDOG_WARNING, 'The function countries_load_configuration_options() is depreciated. Use countries_configuration() instead. Called by the @module module.', array(
    '@module' => $config_options[$name]['module'],
  ));
  return countries_configuration($country, $name, $load_defaults);
}