Views relationship handlers in Drupal 10
Same name and namespace in other branches
- 8 core/modules/views/src/Plugin/views/relationship/RelationshipPluginBase.php \Drupal\views\Plugin\views\relationship\views_relationship_handlers
- 9 core/modules/views/src/Plugin/views/relationship/RelationshipPluginBase.php \Drupal\views\Plugin\views\relationship\views_relationship_handlers
Plugins for handling views relationships.
Relationship handlers extend \Drupal\views\Plugin\views\relationship\RelationshipPluginBase. They must be annotated with \Drupal\views\Annotation\ViewsRelationship annotation, and they must be in namespace directory Plugin\views\relationship.
See also
Parent topics
File
- core/
modules/ views/ src/ Plugin/ views/ relationship/ RelationshipPluginBase.php, line 11
Classes
Name | Location | Description |
---|---|---|
Broken |
core/ |
A special handler to take the place of missing or broken handlers. |
NodeTermData |
core/ |
Relationship handler to return the taxonomy terms of nodes. |
RelationshipPluginBase |
core/ |
Simple relationship handler that allows a new version of the primary table to be linked in. |
RelationshipPluginBase |
core/ |
Simple relationship handler that allows a new version of the primary table to be linked in. |
Standard |
core/ |
Default implementation of the base relationship plugin. |
ViewsRelationship |
core/ |
Defines a Plugin annotation object for views relationship handlers. |