You are here

Views relationship handlers in Drupal 9

Same name and namespace in other branches
  1. 8 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

Plugin API

Parent topics

File

core/modules/views/src/Plugin/views/relationship/RelationshipPluginBase.php, line 11

Classes

Namesort descending Location Description
Broken core/modules/views/src/Plugin/views/relationship/Broken.php A special handler to take the place of missing or broken handlers.
EntityReverse core/modules/views/src/Plugin/views/relationship/EntityReverse.php A relationship handlers which reverse entity references.
GroupwiseMax core/modules/views/src/Plugin/views/relationship/GroupwiseMax.php Relationship handler that allows a groupwise maximum of the linked in table. For a definition, see: http://dev.mysql.com/doc/refman/5.0/en/example-maximum-column-group-row.... In lay terms, instead of joining to get all matching records in the…
NodeTermData core/modules/taxonomy/src/Plugin/views/relationship/NodeTermData.php Relationship handler to return the taxonomy terms of nodes.
RelationshipPluginBase core/modules/views/src/Plugin/views/relationship/RelationshipPluginBase.php Simple relationship handler that allows a new version of the primary table to be linked in.
RelationshipPluginBase core/modules/views/src/Plugin/views/relationship/RelationshipPluginBase.php Simple relationship handler that allows a new version of the primary table to be linked in.
Standard core/modules/views/src/Plugin/views/relationship/Standard.php Default implementation of the base relationship plugin.
ViewsRelationship core/modules/views/src/Annotation/ViewsRelationship.php Defines a Plugin annotation object for views relationship handlers.