Temporarily remove BootstrapCDN

Issue #3053525Signed-off-by: markcarver's avatarMark Carver <mark.carver@me.com>
parent c9203d89
<?php
namespace Drupal\bootstrap\Plugin\Provider;
/**
* The "bootstrapcdn" CDN Provider plugin.
*
* @ingroup plugins_provider
*
* @BootstrapProvider(
* id = "bootstrapcdn",
* label = @Translation("BootstrapCDN"),
* description = @Translation("BootstrapCDN was founded in 2012 by <a href=:DavidHenzel rel=noopener target=_blank>David Henzel</a> and Justin Dorfman at MaxCDN. Today, BootstrapCDN is used by over <a href=:built_with rel=noopener target=_blank>7.9 million sites</a> delivering over 70 billion requests a month.", arguments = {
* ":DavidHenzel" = "https://twitter.com/DavidHenzel",
* ":built_with" = "https://trends.builtwith.com/cdn/BootstrapCDN",
* }),
* )
*/
class BootstrapCdn extends ApiProviderBase {
/**
* {@inheritdoc}
*/
protected function getApiAssetsUrlTemplate() {
return 'https://www.bootstrapcdn.com/api/v1/@library/@version';
}
/**
* {@inheritdoc}
*/
protected function getApiVersionsUrlTemplate() {
return 'https://www.bootstrapcdn.com/api/v1/@library';
}
/**
* {@inheritdoc}
*/
protected function getCdnUrlTemplate() {
return 'https://stackpath.bootstrapcdn.com/@library/@version/@file';
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment