function ResultRow::resetEntityData
Same name in other branches
- 8.9.x core/modules/views/src/ResultRow.php \Drupal\views\ResultRow::resetEntityData()
- 10 core/modules/views/src/ResultRow.php \Drupal\views\ResultRow::resetEntityData()
- 11.x 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
- A class representing a view result row.
Namespace
Drupal\viewsCode
public function resetEntityData() {
$this->_entity = NULL;
$this->_relationship_entities = [];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.