class Locator in Libraries API 8.3
Provides an annotation class for locator plugins.
Hierarchy
- class \Drupal\Component\Annotation\AnnotationBase implements AnnotationInterface
Expanded class hierarchy of Locator
1 file declares its use of Locator
- LocatorManager.php in src/
ExternalLibrary/ Local/ LocatorManager.php
3 classes are annotated with Locator
- ChainLocator in src/
Plugin/ libraries/ Locator/ ChainLocator.php - Provides a locator utilizing a chain of other individual locators.
- GlobalLocator in src/
Plugin/ libraries/ Locator/ GlobalLocator.php - Provides a locator based on global configuration.
- UriLocator in src/
Plugin/ libraries/ Locator/ UriLocator.php - Provides a locator utilizing a URI.
File
- src/
Annotation/ Locator.php, line 12
Namespace
Drupal\libraries\AnnotationView source
class Locator 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:: |