function ViewsHandlerInterface::setRelationship

Same name in other branches
  1. 9 core/modules/views/src/Plugin/views/ViewsHandlerInterface.php \Drupal\views\Plugin\views\ViewsHandlerInterface::setRelationship()
  2. 8.9.x core/modules/views/src/Plugin/views/ViewsHandlerInterface.php \Drupal\views\Plugin\views\ViewsHandlerInterface::setRelationship()
  3. 11.x core/modules/views/src/Plugin/views/ViewsHandlerInterface.php \Drupal\views\Plugin\views\ViewsHandlerInterface::setRelationship()

Sets up any needed relationship.

This is called just prior to query().

1 method overrides ViewsHandlerInterface::setRelationship()
HandlerBase::setRelationship in core/modules/views/src/Plugin/views/HandlerBase.php
Sets up any needed relationship.

File

core/modules/views/src/Plugin/views/ViewsHandlerInterface.php, line 125

Class

ViewsHandlerInterface
Provides an interface for all views handlers.

Namespace

Drupal\views\Plugin\views

Code

public function setRelationship();

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