You are here

public function DataEntityRow::query in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/rest/src/Plugin/views/row/DataEntityRow.php \Drupal\rest\Plugin\views\row\DataEntityRow::query()

Add anything to the query that we might need to.

Overrides RowPluginBase::query

File

core/modules/rest/src/Plugin/views/row/DataEntityRow.php, line 172

Class

DataEntityRow
Plugin which displays entities as raw data.

Namespace

Drupal\rest\Plugin\views\row

Code

public function query() {
  parent::query();
  $this
    ->getEntityTranslationRenderer()
    ->query($this->view
    ->getQuery());
}