interface LiveWeatherInterface in Live Weather 8
Same name and namespace in other branches
- 8.2 src/LiveWeatherInterface.php \Drupal\live_weather\LiveWeatherInterface
Live WeatherInterface.
Hierarchy
- interface \Drupal\live_weather\LiveWeatherInterface
Expanded class hierarchy of LiveWeatherInterface
All classes that implement LiveWeatherInterface
2 files declare their use of LiveWeatherInterface
- LiveWeatherBlock.php in src/
Plugin/ Block/ LiveWeatherBlock.php - Contains \Drupal\live_weather\Plugin\Block\LiveWeatherBlock.
- LiveWeatherForm.php in src/
Form/ LiveWeatherForm.php - Contains \Drupal\live_weather\Form\LiveWeatherForm.
File
- src/
LiveWeatherInterface.php, line 12 - Contains \Drupal\live_weather\LiveWeatherInterface.
Namespace
Drupal\live_weatherView source
interface LiveWeatherInterface {
/**
* Get location data.
*/
public function locationCheck($woeid = NULL, $filter = '', $unit = 'f');
/**
* Check Day or Night.
*/
public static function checkDayNight($date, $sunrise, $sunset);
/**
* Get Wind Direction.
*/
public static function windDirection($direction);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
LiveWeatherInterface:: |
public static | function | Check Day or Night. | 1 |
LiveWeatherInterface:: |
public | function | Get location data. | 1 |
LiveWeatherInterface:: |
public static | function | Get Wind Direction. | 1 |