You are here

class VersionDetector in Libraries API 8.3

Provides an annotation class for version detector plugins.

Hierarchy

Expanded class hierarchy of VersionDetector

1 file declares its use of VersionDetector
VersionDetectorManager.php in src/ExternalLibrary/Version/VersionDetectorManager.php
2 classes are annotated with VersionDetector
LinePatternDetector in src/Plugin/libraries/VersionDetector/LinePatternDetector.php
Detects the version by matching lines in a file against a specified pattern.
StaticDetector in src/Plugin/libraries/VersionDetector/StaticDetector.php
Detects the version by returning a static string.

File

src/Annotation/VersionDetector.php, line 12

Namespace

Drupal\libraries\Annotation
View source
class VersionDetector 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