You are here

public function ResultRow::resetEntityData in Drupal 8

Same name and namespace in other branches
  1. 9 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 46

Class

ResultRow
A class representing a view result row.

Namespace

Drupal\views

Code

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