You are here

class Locator in Libraries API 8.3

Provides an annotation class for locator plugins.

Hierarchy

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\Annotation
View source
class Locator extends PluginID {

}

Members

Namesort descending Modifiers Type Description Overrides
AnnotationBase::$class protected property The class used for this annotated class.
AnnotationBase::$id public property The annotated class ID. 1
AnnotationBase::$provider protected property The provider of the annotated class.
AnnotationBase::getClass public function Gets the class of the annotated class. Overrides AnnotationInterface::getClass
AnnotationBase::getProvider public function Gets the name of the provider of the annotated class. Overrides AnnotationInterface::getProvider
AnnotationBase::setClass public function Sets the class of the annotated class. Overrides AnnotationInterface::setClass
AnnotationBase::setProvider public function Sets the name of the provider of the annotated class. Overrides AnnotationInterface::setProvider
PluginID::$value public property The plugin ID.
PluginID::get public function Gets the value of an annotation. Overrides AnnotationInterface::get
PluginID::getId public function Gets the unique ID for this annotated class. Overrides AnnotationBase::getId