You are here

Views relationship handlers in Drupal 10

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
  2. 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

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.
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.