You are here

public function SearchApiEntity::query in Search API 8

Add anything to the query that we might need to.

Overrides SearchApiFieldTrait::query

See also

\Drupal\views\Plugin\views\ViewsPluginInterface::query()

File

src/Plugin/views/field/SearchApiEntity.php, line 206

Class

SearchApiEntity
Handles the display of entity reference fields in Search API Views.

Namespace

Drupal\search_api\Plugin\views\field

Code

public function query() {
  $this
    ->addRetrievedProperty($this
    ->getCombinedPropertyPath());
}