Views relationship handlers

Same name and namespace in other branches
  1. 9 core/modules/views/src/Plugin/views/relationship/RelationshipPluginBase.php \Drupal\views\Plugin\views\relationship\views_relationship_handlers
  2. 8.9.x core/modules/views/src/Plugin/views/relationship/RelationshipPluginBase.php \Drupal\views\Plugin\views\relationship\views_relationship_handlers
  3. 10 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 attributed with \Drupal\views\Attribute\ViewsRelationship attribute, 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

Title Sort descending File name Summary
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 The relationship handler for groupwise maximum queries.
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 Relationship plugin base.
RelationshipPluginBase core/modules/views/src/Plugin/views/relationship/RelationshipPluginBase.php Relationship plugin base.
Standard core/modules/views/src/Plugin/views/relationship/Standard.php Default implementation of the base relationship plugin.
ViewsRelationship core/modules/views/src/Attribute/ViewsRelationship.php Defines a Plugin attribute class for views relationship handlers.
ViewsRelationship core/modules/views/src/Annotation/ViewsRelationship.php Defines a Plugin annotation object for views relationship handlers.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.