function public function ProviderBase::getCdnVersion

8.x-3.x ProviderBase.php public ProviderBase::getCdnVersion()
7.x-3.x ProviderBase.php public ProviderBase::getCdnVersion()

Retrieves the currently set CDN Provider version.

Return value

string The currently set CDN Provider version.

Overrides ProviderInterface::getCdnVersion

Class

ProviderBase
CDN Provider base class.

Namespace

Drupal\bootstrap\Plugin\Provider

Source src/Plugin/Provider/ProviderBase.php (line 400)

public function getCdnVersion() {
  return $this->supportsVersions() ? $this->theme->getSetting('cdn_version', Bootstrap::FRAMEWORK_VERSION) : NULL;
}