public function TranslationLanguageRenderer::preRender in Display Suite 8.2
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.3 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 entities in the current language.
Namespace
Drupal\ds\Plugin\views\Entity\RenderCode
public function preRender(array $result) {
parent::dsPreRender($result, TRUE);
}