You are here

public function Row::needsUpdate in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/migrate/src/Row.php \Drupal\migrate\Row::needsUpdate()
  2. 9 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 411

Class

Row
Stores a row.

Namespace

Drupal\migrate

Code

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