protected function EntityFieldRenderer::getView in Drupal 8
Same name and namespace in other branches
- 9 core/modules/views/src/Entity/Render/EntityFieldRenderer.php \Drupal\views\Entity\Render\EntityFieldRenderer::getView()
Returns the top object of a view.
Return value
\Drupal\views\ViewExecutable The view object.
Overrides EntityTranslationRenderTrait::getView
File
- core/
modules/ views/ src/ Entity/ Render/ EntityFieldRenderer.php, line 136
Class
- EntityFieldRenderer
- Renders entity fields.
Namespace
Drupal\views\Entity\RenderCode
protected function getView() {
return $this->view;
}