Overrides Drupal\views\Plugin\views\row\RowPluginBase::render().
Overrides RowPluginBase::render
File
- drupal/core/modules/views/lib/Drupal/views/Plugin/views/row/EntityRow.php, line 167
- Contains \Drupal\views\Plugin\views\row\EntityRow.
Class
- EntityRow
- Generic entity row plugin to provide a common base for all entity types.
Namespace
Drupal\views\Plugin\views\row
Code
function render($row) {
$entity_id = $row->{$this->field_alias};
return $this->build[$entity_id];
}