You are here

public function WundergroundWeatherManager::getIconNames in Wunderground weather 8

Get all available icon names.

Return value

array All available icon names.

1 call to WundergroundWeatherManager::getIconNames()
WundergroundWeatherManager::getIconSetSample in src/WundergroundWeatherManager.php
Get a sample of icons of a icon set.

File

src/WundergroundWeatherManager.php, line 125
Contains Drupal\wunderground_weather\WundergroundWeatherManager.

Class

WundergroundWeatherManager
Methods to make an API call and tool to handle the output.

Namespace

Drupal\wunderground_weather

Code

public function getIconNames() {
  return [
    'chanceflurries',
    'chancerain',
    'chancerain',
    'chancesleet',
    'chancesleet',
    'chancesnow',
    'chancetstorms',
    'chancetstorms',
    'clear',
    'cloudy',
    'flurries',
    'fog',
    'hazy',
    'mostlycloudy',
    'mostlysunny',
    'partlycloudy',
    'partlysunny',
    'sleet',
    'rain',
    'sleet',
    'snow',
    'sunny',
    'tstorms',
    'tstorms',
    'unknown',
    'cloudy',
    'partlycloudy',
  ];
}