function getlocations_mapquest_js_settings_do in Get Locations 7
Same name and namespace in other branches
- 7.2 modules/getlocations_mapquest/getlocations_mapquest.module \getlocations_mapquest_js_settings_do()
Function
Return value
Returns
1 call to getlocations_mapquest_js_settings_do()
- theme_getlocations_mapquest_map in modules/
getlocations_mapquest/ getlocations_mapquest.module - Function
File
- modules/
getlocations_mapquest/ getlocations_mapquest.module, line 921 - getlocations_mapquest.module @author Bob Hutchinson http://drupal.org/user/52366 @copyright GNU GPL
Code
function getlocations_mapquest_js_settings_do($defaults, $mapid) {
$settings = array(
$mapid => $defaults,
);
drupal_add_js(array(
'getlocations_mapquest' => $settings,
), 'setting');
}