function RendererBase::render

Same name in other branches
  1. 9 core/modules/views/src/Entity/Render/RendererBase.php \Drupal\views\Entity\Render\RendererBase::render()
  2. 8.9.x core/modules/views/src/Entity/Render/RendererBase.php \Drupal\views\Entity\Render\RendererBase::render()
  3. 11.x core/modules/views/src/Entity/Render/RendererBase.php \Drupal\views\Entity\Render\RendererBase::render()

Renders entity data.

Parameters

\Drupal\views\ResultRow $row: A single row of the query result.

Return value

array A renderable array for the entity data contained in the result row.

2 methods override RendererBase::render()
EntityFieldRenderer::render in core/modules/views/src/Entity/Render/EntityFieldRenderer.php
Renders entity field data.
EntityTranslationRendererBase::render in core/modules/views/src/Entity/Render/EntityTranslationRendererBase.php
Renders entity data.

File

core/modules/views/src/Entity/Render/RendererBase.php, line 111

Class

RendererBase
Defines a base class for entity renderers.

Namespace

Drupal\views\Entity\Render

Code

public abstract function render(ResultRow $row);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.