You are here

public function SearchApiRelationship::query in Search API 8

Add anything to the query that we might need to.

Overrides RelationshipPluginBase::query

File

src/Plugin/views/relationship/SearchApiRelationship.php, line 77

Class

SearchApiRelationship
Views relationship plugin for datasources.

Namespace

Drupal\search_api\Plugin\views\relationship

Code

public function query() {
  $this->alias = $this->field;
}