class CdnAsset
Class CdnAsset.
Hierarchy
- class \Drupal\bootstrap\Plugin\Provider\CdnAsset uses \Drupal\Core\StringTranslation\StringTranslationTrait, \Drupal\Core\DependencyInjection\DependencySerializationTrait, \Drupal\Component\Utility\ToStringTrait
Expanded class hierarchy of CdnAsset
Namespace
Drupal\bootstrap\Plugin\ProviderMembers
Name | Modifiers | Type | Description |
---|---|---|---|
CdnAsset:: |
protected static | property | A list of available Bootswatch themes, keyed by major Bootstrap version. |
CdnAsset:: |
protected | property | A unique identifier. |
CdnAsset:: |
protected | property | Additional information supplied from the CDN API. |
CdnAsset:: |
protected | property | A human readable label for the CDN Asset. |
CdnAsset:: |
protected | property | The library this URL references. |
CdnAsset:: |
protected | property | Flag indicating whether the URL is minified. |
CdnAsset:: |
protected | property | The theme this URL references. |
CdnAsset:: |
protected | property | The type of resource, e.g. css or js. |
CdnAsset:: |
protected | property | The URL. |
CdnAsset:: |
protected | property | The version this URL references. |
CdnAsset:: |
protected static | function | Extracts the necessary parts of the URL. |
CdnAsset:: |
public | function | Retrieves the unique identifier for this asset. |
CdnAsset:: |
public | function | Retrieves information provided by the CDN API, if available. |
CdnAsset:: |
public | function | Retrieves the human readable label. |
CdnAsset:: |
public | function | Retrieves the library this CDN asset is associated with, if any. |
CdnAsset:: |
public | function | Retrieves the theme this CDN asset is associated with, if any. |
CdnAsset:: |
public | function | Retrieves the type of CDN asset this is (e.g. css or js). |
CdnAsset:: |
public | function | Retrieves the absolute URL this CDN asset represents. |
CdnAsset:: |
public | function | Retrieves the version this CDN asset is associated with, if any. |
CdnAsset:: |
constant | Invalid asset regular expression. | |
CdnAsset:: |
public static | function | Indicates whether the provided URL is valid. |
CdnAsset:: |
public | function | Indicates whether the CDN asset is minified. |
CdnAsset:: |
public | function | |
CdnAsset:: |
constant | Valid asset regular expression. | |
CdnAsset:: |
public | function | CdnAsset constructor. |