function gm3_admin_settings_form_submit in Google Maps API V3 7
Submit function for the admin settings.
1 string reference to 'gm3_admin_settings_form_submit'
- gm3_admin_settings_form in ./
gm3.admin.inc - Admin settings
File
- ./
gm3.admin.inc, line 27
Code
function gm3_admin_settings_form_submit(&$form, &$form_state) {
$data = unserialize($form_state['values']['gm3_settings']);
if ($data) {
variable_set('gm3_default_settings', $data);
}
}