class CdnCustomJsMin
The "cdn_custom_js_min" theme setting.
@BootstrapSetting( id = "cdn_custom_js_min", type = "textfield", weight = 4, title = @Translation("Minified Bootstrap JavaScript URL"), defaultValue = "https://cdn.jsdelivr.net/npm/bootstrap@3.4.1/dist/js/bootstrap.min.js", description = @Translation("Additionally, you can provide the minimized version of the file. It will be used instead if site aggregation is enabled."), groups = { "cdn" = @Translation("CDN (Content Delivery Network)"), "cdn_provider" = false, "custom" = false, }, )
Hierarchy
- class \Drupal\bootstrap\Plugin\PluginBase extends \Drupal\Core\Plugin\PluginBase
- class \Drupal\bootstrap\Plugin\Setting\SettingBase implements SettingInterface
- class \Drupal\bootstrap\Plugin\Setting\Advanced\Cdn\CdnProviderBase uses FormAutoloadFixTrait
- class \Drupal\bootstrap\Plugin\Setting\Advanced\Cdn\CdnCustomJsMin implements DeprecatedSettingInterface
- class \Drupal\bootstrap\Plugin\Setting\Advanced\Cdn\CdnProviderBase uses FormAutoloadFixTrait
- class \Drupal\bootstrap\Plugin\Setting\SettingBase implements SettingInterface
Expanded class hierarchy of CdnCustomJsMin
Deprecated
since 8.x-3.18. Replaced with new setting. Will be removed in a future release.
Namespace
Drupal\bootstrap\Plugin\Setting\Advanced\CdnMembers
Name | Modifiers | Type | Description |
---|---|---|---|
CdnCustomJsMin:: |
public | function |
The reason for deprecation. Overrides DeprecatedInterface:: |
CdnCustomJsMin:: |
public | function |
The code that replaces the deprecated functionality. Overrides DeprecatedInterface:: |
CdnCustomJsMin:: |
public | function |
The setting that replaces the deprecated setting. Overrides DeprecatedSettingInterface:: |
CdnCustomJsMin:: |
public | function |
The version this was deprecated in. Overrides DeprecatedInterface:: |
CdnProviderBase:: |
protected | property | The active provider based on form value or theme setting. |
CdnProviderBase:: |
public static | function | AJAX callback for reloading CDN Providers. |
CdnProviderBase:: |
public | function |
The alter method to store the code. Overrides SettingBase:: |
CdnProviderBase:: |
protected static | function | Handles any CDN Provider exceptions that may have been thrown. |
CdnProviderBase:: |
public | function |
The cache tags associated with this object. Overrides SettingBase:: |
CdnProviderBase:: |
protected | function | Retrieves the active CDN Provider. |
CdnProviderBase:: |
protected | function | Sets the #ajax property to rebuild the entire CDN Providers container. |
FormAutoloadFixTrait:: |
public static | function | Adds the autoload fix include file to the form state. |
PluginBase:: |
protected | property | The currently set theme object. |
PluginBase:: |
public | function | |
SettingBase:: |
public static | property | |
SettingBase:: |
public | function |
Indicates whether a setting is accessible. Overrides SettingInterface:: |
SettingBase:: |
public | function |
The alter method to store the code. Overrides FormInterface:: |
SettingBase:: |
public | function |
Indicates whether a form element should be created automatically. Overrides SettingInterface:: |
SettingBase:: |
public | function |
Determines whether a theme setting should added to drupalSettings. Overrides SettingInterface:: |
SettingBase:: |
public | function |
Retrieves the setting's default value. Overrides SettingInterface:: |
SettingBase:: |
public | function |
Retrieves the setting's description, if any. Overrides SettingInterface:: |
SettingBase:: |
public | function |
Overrides SettingInterface:: |
SettingBase:: |
public | function | Retrieves all the form properties from the setting definition. |
SettingBase:: |
public | function |
Overrides SettingInterface:: |
SettingBase:: |
public | function |
Retrieves the group form element the setting belongs to. Overrides SettingInterface:: |
SettingBase:: |
public | function |
Retrieves the setting's groups. Overrides SettingInterface:: |
SettingBase:: |
public | function |
Retrieves the settings options, if set. Overrides SettingInterface:: |
SettingBase:: |
public | function |
Retrieves the form element for the setting. Overrides SettingInterface:: |
SettingBase:: |
protected | function | Retrieves the setting value used to populate the form. |
SettingBase:: |
public | function |
Retrieves the setting's human-readable title. Overrides SettingInterface:: |
SettingBase:: |
public | function |
Retrieves the value from other deprecated settings. Overrides SettingInterface:: |
SettingBase:: |
public static | function |
Form submission handler. Overrides FormInterface:: |
SettingBase:: |
public static | function |
Form submission handler. Overrides FormInterface:: |
SettingBase:: |
public static | function |
Form validation handler. Overrides FormInterface:: |
SettingBase:: |
public static | function |
Form validation handler. Overrides FormInterface:: |