function weather_admin_places_form in Weather 7.3
Same name and namespace in other branches
- 7.2 weather.forms.inc \weather_admin_places_form()
Construct a form for place additions of the Weather module.
1 string reference to 'weather_admin_places_form'
- weather_admin_places in ./
weather.forms.inc - Show an overview of all modified places.
File
- ./
weather.forms.inc, line 160 - Provide forms for configuration of weather displays.
Code
function weather_admin_places_form() {
$form['weather_yrno_url'] = array(
'#type' => 'textfield',
'#title' => t('URL of English weather forecast on yr.no'),
'#description' => t('Example: https://www.yr.no/place/Germany/Hamburg/Hamburg/.'),
);
$form['submit'] = array(
'#type' => 'submit',
'#value' => t('Save place'),
);
return $form;
}