function Row::needsUpdate
Same name in other branches
- 9 core/modules/migrate/src/Row.php \Drupal\migrate\Row::needsUpdate()
- 10 core/modules/migrate/src/Row.php \Drupal\migrate\Row::needsUpdate()
- 11.x core/modules/migrate/src/Row.php \Drupal\migrate\Row::needsUpdate()
Returns if this row needs an update.
Return value
bool TRUE if the row needs updating, FALSE otherwise.
File
-
core/
modules/ migrate/ src/ Row.php, line 408
Class
- Row
- Stores a row.
Namespace
Drupal\migrateCode
public function needsUpdate() {
return $this->idMap['source_row_status'] == MigrateIdMapInterface::STATUS_NEEDS_UPDATE;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.