public function TranslationLanguageRenderer::preRender in Display Suite 8.3
Same name and namespace in other branches
- 8.4 src/Plugin/views/Entity/Render/TranslationLanguageRenderer.php \Drupal\ds\Plugin\views\Entity\Render\TranslationLanguageRenderer::preRender()
- 8.2 src/Plugin/views/Entity/Render/TranslationLanguageRenderer.php \Drupal\ds\Plugin\views\Entity\Render\TranslationLanguageRenderer::preRender()
Runs before each entity is rendered.
Parameters
$result: The full array of results from the query.
Overrides RendererBase::preRender
File
- src/
Plugin/ views/ Entity/ Render/ TranslationLanguageRenderer.php, line 45
Class
- TranslationLanguageRenderer
- Renders entity translations in their row language.
Namespace
Drupal\ds\Plugin\views\Entity\RenderCode
public function preRender(array $result) {
parent::dsPreRender($result, TRUE);
}