You are here

public function RendererBase::preRender in Display Suite 8.3

Same name and namespace in other branches
  1. 8.4 src/Plugin/views/Entity/Render/RendererBase.php \Drupal\ds\Plugin\views\Entity\Render\RendererBase::preRender()
  2. 8.2 src/Plugin/views/Entity/Render/RendererBase.php \Drupal\ds\Plugin\views\Entity\Render\RendererBase::preRender()

Runs before each entity is rendered.

Parameters

$result: The full array of results from the query.

Overrides EntityTranslationRendererBase::preRender

1 method overrides RendererBase::preRender()
TranslationLanguageRenderer::preRender in src/Plugin/views/Entity/Render/TranslationLanguageRenderer.php
Runs before each entity is rendered.

File

src/Plugin/views/Entity/Render/RendererBase.php, line 16

Class

RendererBase
Renders entities in the current language.

Namespace

Drupal\ds\Plugin\views\Entity\Render

Code

public function preRender(array $result) {
  parent::preRender($result);
  $this
    ->dsPreRender($result);
}