8.5.x Row.php Row::needsUpdate()
8.0.x Row.php Row::needsUpdate()
8.1.x Row.php Row::needsUpdate()
8.2.x Row.php Row::needsUpdate()
8.3.x Row.php Row::needsUpdate()
8.4.x Row.php Row::needsUpdate()
8.6.x Row.php 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 343

Class

Row
Stores a row.

Namespace

Drupal\migrate

Code

public function needsUpdate() {
  return $this->idMap['source_row_status'] == MigrateIdMapInterface::STATUS_NEEDS_UPDATE;
}