function weather_main_page_form_submit in Weather 5.6
Same name and namespace in other branches
- 6.5 weather.module \weather_main_page_form_submit()
Handle the submission for general settings of the Weather module
File
- ./
weather.module, line 560 - Display <acronym title="METeorological Aerodrome Report">METAR</acronym> weather data from anywhere in the world
Code
function weather_main_page_form_submit($form_id, $form_values) {
variable_set('weather_use_cron', $form_values['use_cron']);
drupal_set_message(t('The configuration has been saved.'));
}