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

Defines a Plugin annotation object for views relationship handlers.

Hierarchy

Expanded class hierarchy of ViewsRelationship

See also

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

Related topics

File

core/modules/views/src/Annotation/ViewsRelationship.php, line 14

Namespace

Drupal\views\Annotation
View source
class ViewsRelationship extends ViewsHandlerAnnotationBase {

}

Members

Namesort ascending Modifiers Type Description Overrides
PluginID::getId public function Gets the unique ID for this annotated class. Overrides AnnotationBase::getId
PluginID::get public function Gets the value of an annotation. Overrides AnnotationInterface::get
PluginID::$value public property The plugin ID.
AnnotationBase::setProvider public function Sets the name of the provider of the annotated class. Overrides AnnotationInterface::setProvider
AnnotationBase::setClass public function Sets the class of the annotated class. Overrides AnnotationInterface::setClass
AnnotationBase::getProvider public function Gets the name of the provider of the annotated class. Overrides AnnotationInterface::getProvider
AnnotationBase::getClass public function Gets the class of the annotated class. Overrides AnnotationInterface::getClass
AnnotationBase::$provider protected property The provider of the annotated class.
AnnotationBase::$id public property The annotated class ID. 1
AnnotationBase::$class protected property The class used for this annotated class.