function _yr_verdata_tu_shorts in Yr Weatherdata 7
Same name and namespace in other branches
- 6.2 yr_verdata.module \_yr_verdata_tu_shorts()
Helper function for generating short notations for temperature units.
1 call to _yr_verdata_tu_shorts()
- theme_yr_verdata_temp in ./
yr_verdata.module - Function for generating a themed temperature display.
File
- ./
yr_verdata.module, line 1252 - yr_verdata.module This file contains the code for getting the forecast from yr.no and displaying it on a Drupal site.
Code
function _yr_verdata_tu_shorts() {
return array(
'celsius' => 'C',
'fahrenheit' => 'F',
'kelvin' => 'K',
);
}