abstract public function RendererBase::render in Drupal 9
Same name and namespace in other branches
- 8 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\RenderCode
public abstract function render(ResultRow $row);