You are here

protected function EntityFieldRenderer::getView in Drupal 8

Same name and namespace in other branches
  1. 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\Render

Code

protected function getView() {
  return $this->view;
}