public function weather_handler_precipitation::render in Weather 7.3
Same name and namespace in other branches
- 7.2 views_handlers/weather_handler_precipitation.inc \weather_handler_precipitation::render()
Render precipitation.
Overrides views_handler_field_numeric::render
File
- views_handlers/
weather_handler_precipitation.inc, line 32 - Views handler for weather module.
Class
- weather_handler_precipitation
- Field handler to render precipitation.
Code
public function render($values) {
if (is_null($values->{$this->field_alias})) {
return;
}
return $values->{$this->field_alias};
}