class ViewsRelationship in Drupal 10
Same name and namespace in other branches
- 8 core/modules/views/src/Annotation/ViewsRelationship.php \Drupal\views\Annotation\ViewsRelationship
- 9 core/modules/views/src/Annotation/ViewsRelationship.php \Drupal\views\Annotation\ViewsRelationship
Defines a Plugin annotation object for views relationship handlers.
Hierarchy
- class \Drupal\Component\Annotation\AnnotationBase implements AnnotationInterface
- class \Drupal\Component\Annotation\PluginID
- class \Drupal\views\Annotation\ViewsHandlerAnnotationBase
- class \Drupal\views\Annotation\ViewsRelationship
- class \Drupal\views\Annotation\ViewsHandlerAnnotationBase
- class \Drupal\Component\Annotation\PluginID
Expanded class hierarchy of ViewsRelationship
See also
\Drupal\views\Plugin\views\relationship\RelationshipPluginBase
Related topics
3 classes are annotated with ViewsRelationship
- Broken in core/
modules/ views/ src/ Plugin/ views/ relationship/ Broken.php - A special handler to take the place of missing or broken handlers.
- NodeTermData in core/
modules/ taxonomy/ src/ Plugin/ views/ relationship/ NodeTermData.php - Relationship handler to return the taxonomy terms of nodes.
- Standard in core/
modules/ views/ src/ Plugin/ views/ relationship/ Standard.php - Default implementation of the base relationship plugin.
File
- core/
modules/ views/ src/ Annotation/ ViewsRelationship.php, line 14
Namespace
Drupal\views\AnnotationView source
class ViewsRelationship extends ViewsHandlerAnnotationBase {
}
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:: |