public function RendererBase::preRender in Display Suite 8.4
Same name and namespace in other branches
- 8.2 src/Plugin/views/Entity/Render/RendererBase.php \Drupal\ds\Plugin\views\Entity\Render\RendererBase::preRender()
- 8.3 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 15
Class
- RendererBase
- Renders entities in the current language.
Namespace
Drupal\ds\Plugin\views\Entity\RenderCode
public function preRender(array $result) {
parent::preRender($result);
$this
->dsPreRender($result);
}