You are here

protected function EntityFieldRenderer::getView in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 102
Contains \Drupal\views\Entity\Render\EntityFieldRenderer.

Class

EntityFieldRenderer
Renders entity fields.

Namespace

Drupal\views\Entity\Render

Code

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