You are here

function Entity::render in Views (for Drupal 7) 8.3

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

Overrides RowPluginBase::render

1 method overrides Entity::render()
View::render in lib/Views/comment/Plugin/views/row/View.php
Overrides Views\system\Plugin\views\row\Entity::render().

File

lib/Views/system/Plugin/views/row/Entity.php, line 137
Definition of Views\system\Plugin\views\row\Entity.

Class

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

Namespace

Views\system\Plugin\views\row

Code

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