public function Row::rehash in Drupal 10
Same name and namespace in other branches
- 8 core/modules/migrate/src/Row.php \Drupal\migrate\Row::rehash()
- 9 core/modules/migrate/src/Row.php \Drupal\migrate\Row::rehash()
Recalculates the hash for the row.
File
- core/
modules/ migrate/ src/ Row.php, line 389
Class
- Row
- Stores a row.
Namespace
Drupal\migrateCode
public function rehash() {
$this->idMap['original_hash'] = $this->idMap['hash'];
$this->idMap['hash'] = hash('sha256', serialize($this->source));
}