if ($entity =
$this->
getEntity($row,
$relationship)) { $entity->view =
$this->view;
$this->build
[$entity->
id()] =
$view_builder->
view($entity,
$this->view->rowPlugin->options
['view_mode'
],
$this->
getLangcodeByRelationship($row,
$relationship));
} } } /**
* {@inheritdoc}
*/
public function render(ResultRow
$row) { return $this->
renderByRelationship($row, 'none'
);
} /**
* Renders entity data.
*
* @param \Drupal\views\ResultRow $row
* A single row of the query result.
* @param string $relationship
* The relationship to be used.
*
* @return array
* A renderable array for the entity data contained in the result row.
*/