function EntityRow::render

Overrides Drupal\views\Plugin\views\row\RowPluginBase::render().

Overrides RowPluginBase::render

1 method overrides EntityRow::render()
CommentRow::render in drupal/core/modules/comment/lib/Drupal/comment/Plugin/views/row/CommentRow.php
Overrides Drupal\system\Plugin\views\row\Entity::render().

File

drupal/core/modules/system/lib/Drupal/system/Plugin/views/row/EntityRow.php, line 136
Definition of Drupal\system\Plugin\views\row\EntityRow.

Class

EntityRow
Generic entity row plugin to provide a common base for all entity types.

Namespace

Drupal\system\Plugin\views\row

Code

function render($row) {
  $entity_id = $row->{$this->field_alias};
  return $this->build[$entity_id];
}