public function CdnBase::setScheme in Libraries CDN API 8
Set default scheme for an url.
Parameters
string $default: The scheme.
Overrides CdnBaseInterface::setScheme
File
- src/
CdnBase.php, line 95 - Class CdnBase.
Class
- CdnBase
- Class CdnBase.
Namespace
Drupal\libraries_cdnCode
public function setScheme($default = 'http') {
$this->configuration['scheme'] = trim(substr($default, 0, 5));
}