You are here

public function ResultRow::resetEntityData in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/views/src/ResultRow.php \Drupal\views\ResultRow::resetEntityData()
  2. 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 49

Class

ResultRow

Namespace

Drupal\views

Code

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