class ViewsRelationship

Same name in this branch
  1. main core/modules/views/src/Annotation/ViewsRelationship.php \Drupal\views\Annotation\ViewsRelationship
Same name and namespace in other branches
  1. 11.x core/modules/views/src/Attribute/ViewsRelationship.php \Drupal\views\Attribute\ViewsRelationship
  2. 11.x core/modules/views/src/Annotation/ViewsRelationship.php \Drupal\views\Annotation\ViewsRelationship
  3. 10 core/modules/views/src/Attribute/ViewsRelationship.php \Drupal\views\Attribute\ViewsRelationship
  4. 10 core/modules/views/src/Annotation/ViewsRelationship.php \Drupal\views\Annotation\ViewsRelationship
  5. 9 core/modules/views/src/Annotation/ViewsRelationship.php \Drupal\views\Annotation\ViewsRelationship
  6. 8.9.x core/modules/views/src/Annotation/ViewsRelationship.php \Drupal\views\Annotation\ViewsRelationship

Defines a Plugin attribute class for views relationship handlers.

Attributes

#[\Attribute(\Attribute::TARGET_CLASS)]

Hierarchy

Expanded class hierarchy of ViewsRelationship

See also

\Drupal\views\Plugin\views\relationship\RelationshipPluginBase

Related topics

5 files declare their use of ViewsRelationship
Broken.php in core/modules/views/src/Plugin/views/relationship/Broken.php
EntityReverse.php in core/modules/views/src/Plugin/views/relationship/EntityReverse.php
GroupwiseMax.php in core/modules/views/src/Plugin/views/relationship/GroupwiseMax.php
NodeTermData.php in core/modules/taxonomy/src/Plugin/views/relationship/NodeTermData.php
Standard.php in core/modules/views/src/Plugin/views/relationship/Standard.php

File

core/modules/views/src/Attribute/ViewsRelationship.php, line 16

Namespace

Drupal\views\Attribute
View source
class ViewsRelationship extends PluginID {

}

Members

Title Sort descending Modifiers Object type Summary
AttributeBase::$class protected property The class used for this attribute class.
AttributeBase::$dependencies protected property The dependencies for the attribute class.
AttributeBase::$provider protected property The provider of the attribute class.
AttributeBase::getClass public function
AttributeBase::getDependencies public function
AttributeBase::getId public function
AttributeBase::getProvider public function
AttributeBase::setClass public function
AttributeBase::setDependencies public function
AttributeBase::setProvider public function
AttributeBase::__construct public function
PluginID::get public function

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