class LibraryType in Libraries API 8.3
Provides an annotation class for locator plugins.
Hierarchy
- class \Drupal\Component\Annotation\AnnotationBase implements AnnotationInterface
- class \Drupal\Component\Annotation\PluginID
- class \Drupal\libraries\Annotation\LibraryType
- class \Drupal\Component\Annotation\PluginID
Expanded class hierarchy of LibraryType
1 file declares its use of LibraryType
- LibraryTypeFactory.php in src/
ExternalLibrary/ Type/ LibraryTypeFactory.php
3 classes are annotated with LibraryType
- AssetLibraryType in src/
Plugin/ libraries/ Type/ AssetLibraryType.php - Plugin annotation @LibraryType("asset");
- MultipleAssetLibraryType in src/
Plugin/ libraries/ Type/ MultipleAssetLibraryType.php - Plugin annotation @LibraryType("asset_multiple");
- PhpFileLibraryType in src/
Plugin/ libraries/ Type/ PhpFileLibraryType.php - Plugin annotation @LibraryType("php_file");
File
- src/
Annotation/ LibraryType.php, line 12
Namespace
Drupal\libraries\AnnotationView source
class LibraryType extends PluginID {
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
AnnotationBase:: |
protected | property | The class used for this annotated class. | |
AnnotationBase:: |
public | property | The annotated class ID. | 1 |
AnnotationBase:: |
protected | property | The provider of the annotated class. | |
AnnotationBase:: |
public | function |
Gets the class of the annotated class. Overrides AnnotationInterface:: |
|
AnnotationBase:: |
public | function |
Gets the name of the provider of the annotated class. Overrides AnnotationInterface:: |
|
AnnotationBase:: |
public | function |
Sets the class of the annotated class. Overrides AnnotationInterface:: |
|
AnnotationBase:: |
public | function |
Sets the name of the provider of the annotated class. Overrides AnnotationInterface:: |
|
PluginID:: |
public | property | The plugin ID. | |
PluginID:: |
public | function |
Gets the value of an annotation. Overrides AnnotationInterface:: |
|
PluginID:: |
public | function |
Gets the unique ID for this annotated class. Overrides AnnotationBase:: |