You are here

public function CdnSettings::__construct in CDN 8.3

Constructs a new CdnSettings object.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.

File

src/CdnSettings.php, line 38

Class

CdnSettings
Wraps the CDN settings configuration, contains all parsing.

Namespace

Drupal\cdn

Code

public function __construct(ConfigFactoryInterface $config_factory) {
  $this->rawSettings = $config_factory
    ->get('cdn.settings');
  $this->lookupTable = NULL;
}