You are here

protected function DataEntityRow::getView in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/rest/src/Plugin/views/row/DataEntityRow.php \Drupal\rest\Plugin\views\row\DataEntityRow::getView()

Returns the top object of a view.

Return value

\Drupal\views\ViewExecutable The view object.

Overrides EntityTranslationRenderTrait::getView

File

core/modules/rest/src/Plugin/views/row/DataEntityRow.php, line 144

Class

DataEntityRow
Plugin which displays entities as raw data.

Namespace

Drupal\rest\Plugin\views\row

Code

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