You are here

public function ResultRow::resetEntityData in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/views/src/ResultRow.php \Drupal\views\ResultRow::resetEntityData()

Resets the _entity and _relationship_entities properties.

File

core/modules/views/src/ResultRow.php, line 48

Class

ResultRow
A class representing a view result row.

Namespace

Drupal\views

Code

public function resetEntityData() {
  $this->_entity = NULL;
  $this->_relationship_entities = [];
}