You are here

protected function EntityRow::getView in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/views/src/Plugin/views/row/EntityRow.php \Drupal\views\Plugin\views\row\EntityRow::getView()
  2. 10 core/modules/views/src/Plugin/views/row/EntityRow.php \Drupal\views\Plugin\views\row\EntityRow::getView()

Returns the top object of a view.

Return value

\Drupal\views\ViewExecutable The view object.

Overrides EntityTranslationRenderTrait::getView

File

core/modules/views/src/Plugin/views/row/EntityRow.php, line 193

Class

EntityRow
Generic entity row plugin to provide a common base for all entity types.

Namespace

Drupal\views\Plugin\views\row

Code

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