You are here

public function DataEntityRow::render in Drupal 10

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

File

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

Class

DataEntityRow
Plugin which displays entities as raw data.

Namespace

Drupal\rest\Plugin\views\row

Code

public function render($row) {
  return $this
    ->getEntityTranslation($row->_entity, $row);
}