class LibrariesCdn in Libraries CDN API 8
Same name in this branch
- 8 src/LibrariesCdn.php \Drupal\libraries_cdn\LibrariesCdn
- 8 src/Annotation/LibrariesCdn.php \Drupal\libraries_cdn\Annotation\LibrariesCdn
Defines a Libraries CDN annotation object.
Hierarchy
- class \Drupal\Component\Annotation\Plugin implements AnnotationInterface
- class \Drupal\libraries_cdn\Annotation\LibrariesCdn
Expanded class hierarchy of LibrariesCdn
2 files declare their use of LibrariesCdn
- CdnJs.php in src/
Plugin/ LibrariesCdn/ CdnJs.php - Plugin: CDNJS.
- JsDelivr.php in src/
Plugin/ LibrariesCdn/ JsDelivr.php - Plugin: jsDelivr.
2 classes are annotated with LibrariesCdn
- CdnJs in src/
Plugin/ LibrariesCdn/ CdnJs.php - Class CdnJs.
- JSDelivr in src/
Plugin/ LibrariesCdn/ JsDelivr.php - Class JsDelivr.
File
- src/
Annotation/ LibrariesCdn.php, line 19 - Contains \Drupal\Core\Block\Annotation\Block.
Namespace
Drupal\libraries_cdn\AnnotationView source
class LibrariesCdn extends Plugin {
/**
* The plugin ID.
*
* @var string
*/
public $id;
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
LibrariesCdn:: |
public | property | The plugin ID. | |
Plugin:: |
protected | property | The plugin definition read from the class annotation. | 1 |
Plugin:: |
public | function |
Gets the value of an annotation. Overrides AnnotationInterface:: |
5 |
Plugin:: |
public | function |
Gets the class of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Gets the unique ID for this annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Gets the name of the provider of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
protected | function | Parses an annotation into its definition. | |
Plugin:: |
public | function |
Sets the class of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Sets the name of the provider of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function | Constructs a Plugin object. | 2 |