You are here

public function EntityFieldQuery::addRelationship in RESTful 7.2

Add a relational filter.

Parameters

array $relational_filter: The filter to add.

Overrides EntityFieldQuery::addRelationship

1 method overrides EntityFieldQuery::addRelationship()
EntityFieldQuery::addRelationship in src/Util/EntityFieldQuery.php
Add a relational filter.

File

src/Util/EntityFieldQuery.php, line 46
Contains \Drupal\restful\Util\EntityFieldQuery.

Class

EntityFieldQuery

Namespace

Drupal\restful\Util

Code

public function addRelationship(array $relational_filter) {
  $this->relationships[] = $relational_filter;
}