3 namespace Drupal\bootstrap\Plugin\Setting\Advanced\Cdn;
5 use Drupal\bootstrap\Plugin\Setting\SettingBase;
8 * The "cdn_custom_js_min" theme setting.
10 * @ingroup plugins_setting
13 * cdn_provider = "custom",
14 * id = "cdn_custom_js_min",
17 * title = @Translation("Minified Bootstrap JavaScript URL"),
18 * defaultValue = "https://cdn.jsdelivr.net/bootstrap/3.3.7/js/bootstrap.min.js",
19 * description = @Translation("Additionally, you can provide the minimized version of the file. It will be used instead if site aggregation is enabled."),
21 * "advanced" = @Translation("Advanced"),
22 * "cdn" = @Translation("CDN (Content Delivery Network)"),
27 class CdnCustomJsMin extends SettingBase {
32 public function getCacheTags() {
33 return ['library_info'];