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

Breadcrumb

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

function Row::rehash

Recalculates the hash for the row.

File

core/modules/migrate/src/Row.php, line 389

Class

Row
Stores a row.

Namespace

Drupal\migrate

Code

public function rehash() {
    $this->idMap['original_hash'] = $this->idMap['hash'];
    $this->idMap['hash'] = hash('sha256', serialize($this->source));
}
RSS feed
Powered by Drupal