You are here

public function Settings::__construct in Drupalmonitor 8

Settings constructor.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: Config Factory.

File

src/Settings.php, line 74

Class

Settings
Class Settings.

Namespace

Drupal\drupalmonitor

Code

public function __construct(ConfigFactoryInterface $config_factory) {
  $this->configFactory = $config_factory;
  $this->settings = $this->configFactory
    ->get(static::CONFIG_NAME);
}