You are here

public function CdnSettings::isEnabled in CDN 8.3

Return value

bool

File

src/CdnSettings.php, line 46

Class

CdnSettings
Wraps the CDN settings configuration, contains all parsing.

Namespace

Drupal\cdn

Code

public function isEnabled() : bool {
  return $this->rawSettings
    ->get('status') === TRUE;
}