You are here

public function Row::changed in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 310
Contains \Drupal\migrate\Row.

Class

Row
Stores a row.

Namespace

Drupal\migrate

Code

public function changed() {
  return $this->idMap['original_hash'] != $this->idMap['hash'];
}