function ip_geoloc_form_views_ui_edit_display_form_alter in IP Geolocation Views & Maps 7
Same name and namespace in other branches
- 8 ip_geoloc.module \ip_geoloc_form_views_ui_edit_display_form_alter()
Implements hook_form_FORMID_alter().
File
- ./
ip_geoloc.module, line 706 - IPGV&M is a mapping engine for Views that contain locations of entities and/or visitors. Google Maps, Leaflet and OpenLayers2 maps are all supported. and available through this module. Using a number of optional sources IPGV&M also retrieves…
Code
function ip_geoloc_form_views_ui_edit_display_form_alter(&$form, &$form_state) {
// Append our own handler to deal with saving of the differentiator table.
if (isset($form['options']['style_options']['differentiator'])) {
$form['buttons']['submit']['#submit'][] = 'ip_geoloc_plugin_style_diff_color_ass_submit';
}
}