function getlocations_blocks_defaults in Get Locations 7
Same name and namespace in other branches
- 7.2 modules/getlocations_blocks/getlocations_blocks.module \getlocations_blocks_defaults()
Fetch the default settings
Return value
array
1 call to getlocations_blocks_defaults()
- getlocations_blocks_get_var in modules/
getlocations_blocks/ getlocations_blocks.module - Load the getlocations_blocks variables array
File
- modules/
getlocations_blocks/ getlocations_blocks.module, line 947 - getlocations_blocks.module @author Bob Hutchinson http://drupal.org/user/52366 @copyright GNU GPL
Code
function getlocations_blocks_defaults() {
$defaults = array(
'city_path' => 'getlocations_by_city',
'city_element' => 'dropdown',
'city_filter' => '',
'city_filter_fieldname' => '',
'city_filter_bundle' => '',
'province_path' => 'getlocations_by_province',
'province_element' => 'dropdown',
'province_filter' => '',
'province_filter_fieldname' => '',
'province_filter_bundle' => '',
'postalcode_path' => 'getlocations_by_postcode',
'postalcode_element' => 'dropdown',
'postalcode_filter' => '',
'postalcode_filter_fieldname' => '',
'postalcode_filter_bundle' => '',
'country_path' => 'getlocations_by_country',
'country_element' => 'dropdown',
'country_full' => 0,
'country_filter' => '',
'country_filter_fieldname' => '',
'country_filter_bundle' => '',
);
return $defaults;
}