function getlocations_location_taxonomize_field_widget_info_alter in Get Locations 7.2
Same name and namespace in other branches
- 7 modules/getlocations_location_taxonomize/getlocations_location_taxonomize.module \getlocations_location_taxonomize_field_widget_info_alter()
Implements hook_field_widget_info_alter(). This is used to add a setting to the getlocations_fields widget type that determines whether the field is taxonomized
File
- modules/
getlocations_location_taxonomize/ getlocations_location_taxonomize.module, line 45 - getlocations_location_taxonomize.module @author Bob Hutchinson http://drupal.org/user/52366 @copyright GNU GPL
Code
function getlocations_location_taxonomize_field_widget_info_alter(&$info) {
// Add a setting to a widget type.
$info['getlocations_fields']['settings'] += array(
'location_taxonomize' => 0,
);
}