You are here

class LibrariesCdn in Libraries CDN API 8

Same name in this branch
  1. 8 src/LibrariesCdn.php \Drupal\libraries_cdn\LibrariesCdn
  2. 8 src/Annotation/LibrariesCdn.php \Drupal\libraries_cdn\Annotation\LibrariesCdn

Defines a Libraries CDN annotation object.

Hierarchy

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\Annotation
View source
class LibrariesCdn extends Plugin {

  /**
   * The plugin ID.
   *
   * @var string
   */
  public $id;

}

Members

Namesort descending Modifiers Type Description Overrides
LibrariesCdn::$id public property The plugin ID.
Plugin::$definition protected property The plugin definition read from the class annotation. 1
Plugin::get public function Gets the value of an annotation. Overrides AnnotationInterface::get 5
Plugin::getClass public function Gets the class of the annotated class. Overrides AnnotationInterface::getClass
Plugin::getId public function Gets the unique ID for this annotated class. Overrides AnnotationInterface::getId
Plugin::getProvider public function Gets the name of the provider of the annotated class. Overrides AnnotationInterface::getProvider
Plugin::parse protected function Parses an annotation into its definition.
Plugin::setClass public function Sets the class of the annotated class. Overrides AnnotationInterface::setClass
Plugin::setProvider public function Sets the name of the provider of the annotated class. Overrides AnnotationInterface::setProvider
Plugin::__construct public function Constructs a Plugin object. 2