Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Row.php

function 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 401

Class

Row
Stores a row.

Namespace

Drupal\migrate

Code

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