You are here

protected function EntityRow::getView in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/views/src/Plugin/views/row/EntityRow.php \Drupal\views\Plugin\views\row\EntityRow::getView()
  2. 9 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 160

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;
}