function Row::changed
Same name in other branches
- 9 core/modules/migrate/src/Row.php \Drupal\migrate\Row::changed()
- 10 core/modules/migrate/src/Row.php \Drupal\migrate\Row::changed()
- 11.x core/modules/migrate/src/Row.php \Drupal\migrate\Row::changed()
Checks whether the row has changed compared to the original ID map.
Return value
bool TRUE if the row has changed, FALSE otherwise. If setIdMap() was not called, this always returns FALSE.
File
-
core/
modules/ migrate/ src/ Row.php, line 398
Class
- Row
- Stores a row.
Namespace
Drupal\migrateCode
public function changed() {
return $this->idMap['original_hash'] != $this->idMap['hash'];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.