class Update in Lightning Core 8
Same name and namespace in other branches
- 8.5 src/Annotation/Update.php \Drupal\lightning_core\Annotation\Update
- 8.2 src/Annotation/Update.php \Drupal\lightning_core\Annotation\Update
- 8.3 src/Annotation/Update.php \Drupal\lightning_core\Annotation\Update
- 8.4 src/Annotation/Update.php \Drupal\lightning_core\Annotation\Update
Defines a plugin annotation that contains only a target version number.
Hierarchy
- class \Drupal\Component\Annotation\AnnotationBase implements AnnotationInterface
Expanded class hierarchy of Update
1 file declares its use of Update
1 string reference to 'Update'
- UpdateManager::__construct in src/
UpdateManager.php - UpdateCommand constructor.
File
- src/
Annotation/ Update.php, line 12
Namespace
Drupal\lightning_core\AnnotationView source
class Update extends PluginID {
/**
* {@inheritdoc}
*/
public function getId() {
return $this
->getProvider() . ':' . parent::getId();
}
}
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:: |
|
Update:: |
public | function |
Gets the unique ID for this annotated class. Overrides PluginID:: |