You are here

public function WundergroundWeatherManager::getSettings in Wunderground weather 8

Get the module settings.

Return value

\Drupal\Core\Config\Config|\Drupal\Core\Config\ImmutableConfig The configuration object.

File

src/WundergroundWeatherManager.php, line 48
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 getSettings() {
  return $this->configFactory
    ->get('wunderground_weather.settings');
}