function protected function CdnProviderBase::getProvider

8.x-3.x CdnProviderBase.php protected CdnProviderBase::getProvider()

Retrieves the active CDN Provider.

Return value

\Drupal\bootstrap\Plugin\Provider\ProviderInterface A CDN Provider.

Class

CdnProviderBase
A base class for CDN Provider settings.

Namespace

Drupal\bootstrap\Plugin\Setting\Advanced\Cdn

Source src/Plugin/Setting/Advanced/Cdn/CdnProviderBase.php (line 110)

protected function getProvider() {
  if (!isset($this->provider)) {
    $this->provider = $this->theme->getCdnProvider();
  }
  return $this->provider;
}