Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / themes / contrib / bootstrap / src / Plugin / Setting / Advanced / Cdn / CdnCustomJsMin.php
1 <?php
2
3 namespace Drupal\bootstrap\Plugin\Setting\Advanced\Cdn;
4
5 use Drupal\bootstrap\Plugin\Setting\SettingBase;
6
7 /**
8  * The "cdn_custom_js_min" theme setting.
9  *
10  * @ingroup plugins_setting
11  *
12  * @BootstrapSetting(
13  *   cdn_provider = "custom",
14  *   id = "cdn_custom_js_min",
15  *   type = "textfield",
16  *   weight = 4,
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."),
20  *   groups = {
21  *     "advanced" = @Translation("Advanced"),
22  *     "cdn" = @Translation("CDN (Content Delivery Network)"),
23  *     "custom" = false,
24  *   },
25  * )
26  */
27 class CdnCustomJsMin extends SettingBase {
28
29   /**
30    * {@inheritdoc}
31    */
32   public function getCacheTags() {
33     return ['library_info'];
34   }
35
36 }