4 * Contains \Drupal\bootstrap\Plugin\Setting\Advanced\Cdn\CdnCustomCss.
7 namespace Drupal\bootstrap\Plugin\Setting\Advanced\Cdn;
9 use Drupal\bootstrap\Annotation\BootstrapSetting;
10 use Drupal\bootstrap\Plugin\Setting\SettingBase;
11 use Drupal\Core\Annotation\Translation;
14 * The "cdn_custom_css" theme setting.
16 * @ingroup plugins_setting
19 * cdn_provider = "custom",
20 * id = "cdn_custom_css",
23 * title = @Translation("Bootstrap CSS URL"),
24 * defaultValue = "https://cdn.jsdelivr.net/bootstrap/3.3.7/css/bootstrap.css",
25 * description = @Translation("It is best to use <code>https</code> protocols here as it will allow more flexibility if the need ever arises."),
27 * "advanced" = @Translation("Advanced"),
28 * "cdn" = @Translation("CDN (Content Delivery Network)"),
33 class CdnCustomCss extends SettingBase {
38 public function getCacheTags() {
39 return ['library_info'];